summaryrefslogtreecommitdiff
path: root/xnap.c
diff options
context:
space:
mode:
authoruint <abhinav.prsai@gmail.com>2025-12-15 18:11:21 +0000
committeruint <abhinav.prsai@gmail.com>2025-12-15 18:11:21 +0000
commit1ef9f24c212096e940218cd7787dd140234bb035 (patch)
tree18b023f95f9378ed8954149262722fad1d388a01 /xnap.c
parent7797bd2983f9eabe4c76752509fd058ed5853344 (diff)
fix typo when setting p.lx, p.ly
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 */