[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:
Colin Walters
2010-03-16 18:05:13 -04:00
parent 67f8a33cad
commit 650a1e807c
2 changed files with 24 additions and 9 deletions

View File

@@ -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,