glazier

the original window manipulator
Log | Files | Refs | Submodules | README | LICENSE

commit 170adc9db2caeeacfaded81d7892d9bdc245ec69
parent f5dbc7a917771c8988277a2368d14f7efcd73be0
Author: Willy Goiffon <dev@z3bra.org>
Date:   Sat, 26 Oct 2019 20:28:15 +0200

Save cursor position for teleport

Diffstat:
glazier.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/glazier.c b/glazier.c @@ -281,6 +281,8 @@ cb_mouse_press(xcb_generic_event_t *ev) wm_reg_cursor_event(scrn->root, mask, xhair[XHAIR_MOVE]); break; case 2: + cursor.x = e->root_x; + cursor.y = e->root_y; wm_reg_cursor_event(scrn->root, mask, xhair[XHAIR_TELE]); break; case 3: