merge the C branch into HEAD
[openbox.git] / c / mbind.h
blobdfd8c911727bc7b396f6d87307527ae0460a85f7
1 #ifndef __mbind_h
2 #define __mbind_h
4 #include "obexport.h"
5 #include "client.h"
6 #include <glib.h>
8 void mbind_startup();
9 void mbind_shutdown();
11 /*! Adds a new pointer binding */
12 gboolean mbind_add(char *name, GQuark context);
13 void mbind_clearall();
15 void mbind_fire(guint state, guint button, GQuark context, EventType type,
16 Client *client, int xroot, int yroot);
18 void mbind_grab_all(Client *client, gboolean grab);
19 gboolean mbind_grab_pointer(gboolean grab);
21 #endif