mirror of
https://github.com/brl/mutter.git
synced 2025-07-15 06:37:17 +00:00
Add meta_display_get_grab_op()
Add a function to determine the current grab op. This can be useful in a plugin to avoid over-grabbing an X grab held by Mutter. http://bugzilla.gnome.org/show_bug.cgi?id=593399
This commit is contained in:
@ -114,6 +114,10 @@ gboolean meta_display_begin_grab_op (MetaDisplay *display,
|
||||
int root_y);
|
||||
void meta_display_end_grab_op (MetaDisplay *display,
|
||||
guint32 timestamp);
|
||||
|
||||
MetaGrabOp meta_display_get_grab_op (MetaDisplay *display);
|
||||
|
||||
|
||||
/* meta_display_set_input_focus_window is like XSetInputFocus, except
|
||||
* that (a) it can't detect timestamps later than the current time,
|
||||
* since Mutter isn't part of the XServer, and thus gives erroneous
|
||||
|
Reference in New Issue
Block a user