summaryrefslogtreecommitdiff
path: root/openbox/mouse.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-07 19:03:20 +0000
committerDana Jansens <danakj@orodu.net>2003-09-07 19:03:20 +0000
commit78282959f970d28131e6aa8d66adce359aa145dc (patch)
tree57508152b85c3442d1b0c683497bbc12a7f5dff0 /openbox/mouse.h
parentb23594d88d462f4ed1b0a26b5e303f491758f5ff (diff)
little bit of an actions overhaul, added action_run* so that duplicated code can all be in the same place now woot.
allow actions to specify when they can be used (ShowMenu cant in the OB_USER_ACTION_MENU_SELECTION case) remove KeyboardMove ad KeyboardResize. Instead, just use Move and Resize and determine if it should be a keyboard move/resize in the code
Diffstat (limited to 'openbox/mouse.h')
-rw-r--r--openbox/mouse.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/openbox/mouse.h b/openbox/mouse.h
index 4e68bf1a..31ce40fe 100644
--- a/openbox/mouse.h
+++ b/openbox/mouse.h
@@ -3,18 +3,10 @@
#include "action.h"
#include "frame.h"
+#include "misc.h"
#include <X11/Xlib.h>
-typedef enum {
- OB_MOUSE_ACTION_PRESS,
- OB_MOUSE_ACTION_RELEASE,
- OB_MOUSE_ACTION_CLICK,
- OB_MOUSE_ACTION_DOUBLE_CLICK,
- OB_MOUSE_ACTION_MOTION,
- OB_MOUSE_NUM_ACTIONS
-} ObMouseAction;
-
void mouse_startup(gboolean reconfig);
void mouse_shutdown(gboolean reconfig);