]> Dogcows Code - chaz/openbox/blob - openbox/mouse.h
move the keyboard and mouse plugins into the kernel for mucho sexiness.
[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 MouseAction_Press,
11 MouseAction_Release,
12 MouseAction_Click,
13 MouseAction_DClick,
14 MouseAction_Motion,
15 NUM_MOUSEACTION
16 } ObMouseAction;
17
18 void mouse_startup();
19 void mouse_shutdown();
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.037565 seconds and 5 git commands to generate.