From 1ef9f24c212096e940218cd7787dd140234bb035 Mon Sep 17 00:00:00 2001 From: uint Date: Mon, 15 Dec 2025 18:11:21 +0000 Subject: fix typo when setting p.lx, p.ly --- xnap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3