summaryrefslogtreecommitdiff
path: root/openbox/action.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-12 17:31:13 +0000
committerDana Jansens <danakj@orodu.net>2007-05-12 17:31:13 +0000
commit18c0714c518b6893835cded4967a5edcb47940f9 (patch)
treeda42b67aa6cf2cda1ccd291668d1b00f3a9d21c1 /openbox/action.h
parent1d1aef75a0a4ab016243336fce0a69d00623caf8 (diff)
split the move and resize functions.
let you specify the edge to resize in the action binding
Diffstat (limited to 'openbox/action.h')
-rw-r--r--openbox/action.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/openbox/action.h b/openbox/action.h
index ecb199ce..8a1726bc 100644
--- a/openbox/action.h
+++ b/openbox/action.h
@@ -129,8 +129,8 @@ struct DesktopDirection {
struct MoveResize {
struct AnyAction any;
- gboolean move;
gboolean keyboard;
+ guint32 corner;
};
struct ShowMenu {
@@ -314,8 +314,10 @@ void action_desktop_dir(union ActionData *data);
void action_desktop_last(union ActionData *data);
/* ClientAction */
void action_toggle_decorations(union ActionData *data);
-/* MoveResize */
-void action_moveresize(union ActionData *data);
+/* Move */
+void action_move(union ActionData *data);
+/* Resize */
+void action_resize(union ActionData *data);
/* Any */
void action_reconfigure(union ActionData *data);
/* Execute */