]> Dogcows Code - chaz/openbox/blobdiff - openbox/keyboard.h
add a reconfigure action, also reconfigure on SIGUSR2.
[chaz/openbox] / openbox / keyboard.h
index 464606b263c43930f0fcaf7fad4c55d6e7726575..ec51fade448051b160469f548a96e93b3737463f 100644 (file)
@@ -1,13 +1,32 @@
-#ifndef __keyboard_h
-#define __keyboard_h
+#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(gboolean reconfig);
+void keyboard_shutdown(gboolean reconfig);
+
+gboolean keyboard_bind(GList *keylist, ObAction *action);
 
-void keyboard_startup();
-void keyboard_shutdown();
+void keyboard_event(struct _ObClient *client, const XEvent *e);
+void keyboard_reset_chains();
 
-guint keyboard_translate_modifier(char *str);
+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_event(XKeyEvent *e);
+void keyboard_grab_for_client(struct _ObClient *c, gboolean grab);
 
 #endif
This page took 0.020978 seconds and 4 git commands to generate.