summaryrefslogtreecommitdiff
path: root/openbox/action.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-22 02:22:43 +0000
committerDana Jansens <danakj@orodu.net>2003-05-22 02:22:43 +0000
commit4d814a383b099c48ad9b61cb94d25ef16b1a698a (patch)
tree14ee14be18619aef1786e8b4c56d6decc355f18b /openbox/action.h
parentd6cb5adbeaf0b7fbb55aca942ae5b8f62f77b4ea (diff)
add actions for changing client layers to abov/below/normal
Diffstat (limited to 'openbox/action.h')
-rw-r--r--openbox/action.h13
1 files changed, 12 insertions, 1 deletions
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