From 4ab212d0cd85ad7447b7c6bbee4c383f7e575d21 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 31 Aug 2003 18:54:26 +0000 Subject: make directional focusing an interactive action --- openbox/action.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'openbox/action.h') diff --git a/openbox/action.h b/openbox/action.h index c6a04838..1b8f2156 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -22,6 +22,11 @@ struct InteractiveAction { gboolean cancel; }; +struct InterDirectionalAction{ + struct InteractiveAction inter; + ObDirection direction; +}; + struct DirectionalAction{ struct AnyAction any; ObDirection direction; @@ -101,6 +106,7 @@ struct CycleWindows { union ActionData { struct AnyAction any; struct InteractiveAction inter; + struct InterDirectionalAction interdiraction; struct DirectionalAction diraction; struct Execute execute; struct ClientAction client; @@ -220,7 +226,7 @@ void action_exit(union ActionData *data); void action_showmenu(union ActionData *data); /* CycleWindows */ void action_cycle_windows(union ActionData *data); -/* DirectionalAction */ +/* InterDirectionalAction */ void action_directional_focus(union ActionData *data); /* DirectionalAction */ void action_movetoedge(union ActionData *data); -- cgit v1.2.3