]> icculus.org git repositories - dana/openbox.git/blob - openbox/mouse.h
remove the x event handler
[dana/openbox.git] / openbox / mouse.h
1 #ifndef ob__mouse_h
2 #define ob__mouse_h
3
4 #include "action.h"
5 #include "frame.h"
6 #include "misc.h"
7
8 #include <X11/Xlib.h>
9
10 void mouse_startup(gboolean reconfig);
11 void mouse_shutdown(gboolean reconfig);
12
13 gboolean mouse_bind(char *buttonstr, char *contextstr, ObMouseAction mact,
14                     ObAction *action);
15
16 void mouse_event(struct _ObClient *client, XEvent *e);
17
18 void mouse_grab_for_client(struct _ObClient *client, gboolean grab);
19
20 ObFrameContext mouse_button_frame_context(ObFrameContext context,
21                                           guint button);
22
23 #endif