Revision 17152,
829 bytes
checked in by ghudson, 23 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r17151,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | #ifndef GLOBAL_KEYS_H |
---|
2 | #define GLOBAL_KEYS_H 1 |
---|
3 | |
---|
4 | /* we exclude shift, GDK_CONTROL_MASK and GDK_MOD1_MASK since we know what |
---|
5 | these modifiers mean */ |
---|
6 | /* these are the mods whose combinations are bound by the keygrabbing code */ |
---|
7 | #define IGNORED_MODS (0x2000 /*Xkb modifier*/ | GDK_LOCK_MASK | \ |
---|
8 | GDK_MOD2_MASK | GDK_MOD3_MASK | GDK_MOD4_MASK | GDK_MOD5_MASK) |
---|
9 | /* these are the ones we actually use for global keys, we always only check |
---|
10 | * for these set */ |
---|
11 | #define USED_MODS (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK) |
---|
12 | |
---|
13 | |
---|
14 | /* WTF are these doing here */ |
---|
15 | /*#define XK_LEFT_WIN 115 |
---|
16 | #define XK_RIGHT_WIN 116 |
---|
17 | #define XK_RIGHT_MENU 117*/ |
---|
18 | |
---|
19 | #include <gdk/gdktypes.h> |
---|
20 | |
---|
21 | void panel_global_keys_setup (void); |
---|
22 | GdkFilterReturn panel_global_keys_filter (GdkXEvent *gdk_xevent, |
---|
23 | GdkEvent *event, |
---|
24 | gpointer data); |
---|
25 | |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.