summaryrefslogtreecommitdiff
path: root/c/mbind.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/mbind.h')
-rw-r--r--c/mbind.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/c/mbind.h b/c/mbind.h
new file mode 100644
index 00000000..dfd8c911
--- /dev/null
+++ b/c/mbind.h
@@ -0,0 +1,21 @@
+#ifndef __mbind_h
+#define __mbind_h
+
+#include "obexport.h"
+#include "client.h"
+#include <glib.h>
+
+void mbind_startup();
+void mbind_shutdown();
+
+/*! Adds a new pointer binding */
+gboolean mbind_add(char *name, GQuark context);
+void mbind_clearall();
+
+void mbind_fire(guint state, guint button, GQuark context, EventType type,
+ Client *client, int xroot, int yroot);
+
+void mbind_grab_all(Client *client, gboolean grab);
+gboolean mbind_grab_pointer(gboolean grab);
+
+#endif