]> Dogcows Code - chaz/openbox/blob - openbox/mouse.h
oops missed a !
[chaz/openbox] / openbox / mouse.h
1 #ifndef ob__mouse_h
2 #define ob__mouse_h
3
4 #include "action.h"
5 #include "frame.h"
6
7 #include <X11/Xlib.h>
8
9 typedef enum {
10 OB_MOUSE_ACTION_PRESS,
11 OB_MOUSE_ACTION_RELEASE,
12 OB_MOUSE_ACTION_CLICK,
13 OB_MOUSE_ACTION_DOUBLE_CLICK,
14 OB_MOUSE_ACTION_MOTION,
15 OB_MOUSE_NUM_ACTIONS
16 } ObMouseAction;
17
18 void mouse_startup(gboolean reconfig);
19 void mouse_shutdown(gboolean reconfig);
20
21 gboolean mouse_bind(char *buttonstr, char *contextstr, ObMouseAction mact,
22 ObAction *action);
23
24 void mouse_event(struct _ObClient *client, ObFrameContext context, XEvent *e);
25
26 void mouse_grab_for_client(struct _ObClient *client, gboolean grab);
27
28 #endif
This page took 0.032908 seconds and 4 git commands to generate.