aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index aa342ff..f88c368 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -190,7 +190,7 @@ static void draw_editing_box(cairo_t *cr, double xmin, double ymin,
double width, double height)
{
cairo_new_path(cr);
- cairo_rectangle(cr, xmin, ymin, width, height);
+ cairo_rectangle(cr, xmin-5.0, ymin-5.0, width+10.0, height+10.0);
cairo_set_source_rgb(cr, 1.0, 0.0, 0.0);
cairo_set_line_width(cr, 1.0);
cairo_stroke(cr);