From 18c0714c518b6893835cded4967a5edcb47940f9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 12 May 2007 17:31:13 +0000 Subject: split the move and resize functions. let you specify the edge to resize in the action binding --- openbox/action.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'openbox/action.h') 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 */ -- cgit v1.2.3