mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
x11: Use meta_window_begin_grab_op() to begin window grab
Move away from meta_display_begin_grab_op(). Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
This commit is contained in:
parent
78a5921066
commit
8685a706cc
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user