diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-31 18:54:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-31 18:54:26 +0000 |
| commit | 4ab212d0cd85ad7447b7c6bbee4c383f7e575d21 (patch) | |
| tree | 2e4f4cc4caa37165030f58cf8e3d125522274c7f /openbox/action.h | |
| parent | ba64eb20dbea9ca2917c2daddfcb05d317d82452 (diff) | |
make directional focusing an interactive action
Diffstat (limited to 'openbox/action.h')
| -rw-r--r-- | openbox/action.h | 8 |
1 files changed, 7 insertions, 1 deletions
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); |
