projects
/
dana
/
openbox-history.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
832ada1f1bebd9a5724ddc5a5581e7f2bc774a19
[dana/openbox-history.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