X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.h;h=1b8f2156d3a97e55d1280b6fbbb30d34d8a7c8ec;hb=49d58ec9ba5380f97a4524edf5d5925ea5aa6180;hp=c6a04838e25c6f0ebddca8fbaffdd35ff933bca4;hpb=2c6c0757fa497f4c1e0648bcbb1927c0fa12862f;p=chaz%2Fopenbox 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);