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