summaryrefslogtreecommitdiff
path: root/xnap.c
diff options
context:
space:
mode:
Diffstat (limited to 'xnap.c')
-rw-r--r--xnap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xnap.c b/xnap.c
index 9886730..c8da443 100644
--- a/xnap.c
+++ b/xnap.c
@@ -251,7 +251,7 @@ void run(void)
/* start selecting for selection mode */
p.sel = True;
p.x0 = p.x1 = p.lx = ev.xbutton.x_root;
- p.y0 = p.y1 = p.lx = ev.xbutton.y_root;
+ p.y0 = p.y1 = p.ly = ev.xbutton.y_root;
}
else if (ev.type == MotionNotify && p.sel) { /* dragging selection */
/* remove old rectangle */