aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-05-24 12:00:44 +0200
committerThomas White <taw@physics.org>2011-05-24 12:00:44 +0200
commit3885e41994b556b2f23290a245c1258f0ee34fae (patch)
treefef5758e7cf762c0bb74809ac645b568f5948467 /src/mainwindow.c
parentd9daff9d8d5a41443c96e574d6ed20a3885e709c (diff)
Add some border inside the editing box
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);