make minsize take int*'s not a Size*
[dana/openbox.git] / plugins / mouse / mouse.h
1 #ifndef __plugin_mouse_mouse_h
2 #define __plugin_mouse_mouse_h
3
4 #include "../../kernel/action.h"
5
6 typedef enum {
7     MouseAction_Press,
8     MouseAction_Release,
9     MouseAction_Click,
10     MouseAction_DClick,
11     MouseAction_Motion,
12     NUM_MOUSEACTION
13 } MouseAction;
14
15 typedef struct {
16     guint state;
17     guint button;
18     Action *action[NUM_MOUSEACTION];
19 } MouseBinding;
20
21 gboolean mbind(char *buttonstr, char *contextstr, MouseAction mact,
22                Action *action);
23
24 #endif