mirror of
https://github.com/brl/mutter.git
synced 2025-06-26 15:07:05 +00:00
core: Make MetaDisplay grab API private
Leave meta_window_begin_grab_op() as the only public API to initiate a display grab. There's no longer grab operations that don't attain windows, and ending these grabs usually happen through user interaction when the right circumstances happen. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
This commit is contained in:

committed by
Marge Bot

parent
8685a706cc
commit
57e56ee866
@ -424,4 +424,18 @@ void meta_display_flush_queued_window (MetaDisplay *display,
|
||||
MetaWindow *window,
|
||||
MetaQueueType queue_types);
|
||||
|
||||
gboolean meta_display_begin_grab_op (MetaDisplay *display,
|
||||
MetaWindow *window,
|
||||
MetaGrabOp op,
|
||||
gboolean pointer_already_grabbed,
|
||||
gboolean frame_action,
|
||||
int button,
|
||||
gulong modmask,
|
||||
uint32_t timestamp,
|
||||
int root_x,
|
||||
int root_y);
|
||||
|
||||
void meta_display_end_grab_op (MetaDisplay *display,
|
||||
uint32_t timestamp);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user