aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index a97dd29..3d6a4b1 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -711,8 +711,8 @@ static void draw_editing_box(cairo_t *cr, struct frame *fr)
const double dash[] = {2.0, 2.0};
double xmin, ymin, width, height;
- xmin = fr->offs_x;
- ymin = fr->offs_y;
+ xmin = fr->x;
+ ymin = fr->y;
width = fr->w;
height = fr->h;