mirror of
https://github.com/brl/mutter.git
synced 2025-07-28 20:48:03 +00:00
[MetaDisplay] Expose meta_display_get_keybinding_action
This can be used when a plugin has control of input to determine what action would be done, and thus filter to a subset of them. https://bugzilla.gnome.org/show_bug.cgi?id=613100
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#include "types.h"
|
||||
#include "prefs.h"
|
||||
#include "common.h"
|
||||
|
||||
typedef enum
|
||||
@@ -117,6 +118,10 @@ void meta_display_end_grab_op (MetaDisplay *display,
|
||||
|
||||
MetaGrabOp meta_display_get_grab_op (MetaDisplay *display);
|
||||
|
||||
MetaKeyBindingAction meta_display_get_keybinding_action (MetaDisplay *display,
|
||||
unsigned int keysym,
|
||||
unsigned int keycode,
|
||||
unsigned long mask);
|
||||
|
||||
/* meta_display_set_input_focus_window is like XSetInputFocus, except
|
||||
* that (a) it can't detect timestamps later than the current time,
|
||||
|
Reference in New Issue
Block a user