diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-12 07:26:16 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-12 07:26:16 +0000 |
| commit | c90da6da781932c2d178bfb7e39ec1d5003543b7 (patch) | |
| tree | e9ed8a17f574701880fe73fcfbd872cdb4868c4d /openbox/keyboard.h | |
| parent | cb49f853c9b62c4403eb562d39f52c51da292c4f (diff) | |
move the keyboard and mouse plugins into the kernel for mucho sexiness.
make workspace changing a grabbed/interactive process like focus cycling is, with the popup and all.
this is some hot shit.
Diffstat (limited to 'openbox/keyboard.h')
| -rw-r--r-- | openbox/keyboard.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/openbox/keyboard.h b/openbox/keyboard.h new file mode 100644 index 00000000..aa171221 --- /dev/null +++ b/openbox/keyboard.h @@ -0,0 +1,32 @@ +#ifndef ob__keybaord_h +#define ob__keybaord_h + +#include "keytree.h" +#include "frame.h" + +#include <glib.h> +#include <X11/Xlib.h> + +struct _ObClient; +struct _ObAction; + +extern KeyBindingTree *keyboard_firstnode; + +void keyboard_startup(); +void keyboard_shutdown(); + +gboolean keyboard_bind(GList *keylist, ObAction *action); + +void keyboard_event(struct _ObClient *client, const XEvent *e); +void keyboard_reset_chains(); + +void keyboard_interactive_grab(guint state, struct _ObClient *client, + ObFrameContext context, + struct _ObAction *action); +gboolean keyboard_process_interactive_grab(const XEvent *e, + struct _ObClient **client, + ObFrameContext *context); + +void keyboard_grab_for_client(struct _ObClient *c, gboolean grab); + +#endif |
