From 8685a706cc09b58cfa196047c445c273e71d229b Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 29 Sep 2022 18:52:22 +0200 Subject: [PATCH] x11: Use meta_window_begin_grab_op() to begin window grab Move away from meta_display_begin_grab_op(). Part-of: --- src/x11/window-x11.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c index 8025e8444..dc0c0cd32 100644 --- a/src/x11/window-x11.c +++ b/src/x11/window-x11.c @@ -3354,15 +3354,10 @@ meta_window_x11_client_message (MetaWindow *window, meta_topic (META_DEBUG_WINDOW_OPS, "Beginning move/resize with button = %d", button); - meta_display_begin_grab_op (window->display, - window, - op, - FALSE, - frame_action, - button, 0, - timestamp, - x_root, - y_root); + meta_window_begin_grab_op (window, + op, + frame_action, + timestamp); button_mask = query_pressed_buttons (window);