From 4d814a383b099c48ad9b61cb94d25ef16b1a698a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 22 May 2003 02:22:43 +0000 Subject: add actions for changing client layers to abov/below/normal --- openbox/action.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'openbox/action.h') diff --git a/openbox/action.h b/openbox/action.h index ba5ff223..9066b6ef 100644 --- a/openbox/action.h +++ b/openbox/action.h @@ -48,6 +48,11 @@ struct Desktop { guint desk; }; +struct Layer { + Client *c; + int layer; /* < 0 = below, 0 = normal, > 0 = above */ +}; + struct NextPreviousDesktop { Client *c; gboolean wrap; @@ -89,6 +94,7 @@ union ActionData { struct MoveResize moveresize; struct ShowMenu showmenu; struct CycleWindows cycle; + struct Layer layer; }; typedef struct { @@ -204,7 +210,12 @@ void action_exit(union ActionData *data); void action_showmenu(union ActionData *data); /* CycleWindows */ void action_cycle_windows(union ActionData *data); - +/* DirectionalAction */ void action_directional_focus(union ActionData *data); +/* DirectionalAction */ void action_movetoedge(union ActionData *data); +/* Layer */ +void action_send_to_layer(union ActionData *data); +/* Layer */ +void action_toggle_layer(union ActionData *data); #endif -- cgit v1.2.3