From 1b3759d51cbdb71804e85ecca4a411a2cdb36073 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 25 Jan 2024 16:42:43 +0100 Subject: [PATCH] x11: Pass NET_WM_MOVERESIZE coordinates as window drag hint This will make windows stick to the pointer from the right point where dragging started. Part-of: --- src/x11/window-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c index 0e0759a53..745c45db1 100644 --- a/src/x11/window-x11.c +++ b/src/x11/window-x11.c @@ -3443,7 +3443,7 @@ meta_window_x11_client_message (MetaWindow *window, device, sequence, timestamp, - NULL); + &GRAPHENE_POINT_INIT (x_root, y_root)); window_drag = meta_compositor_get_current_window_drag (window->display->compositor);