summaryrefslogtreecommitdiff
path: root/openbox/action.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-29 21:18:20 +0000
committerDana Jansens <danakj@orodu.net>2003-03-29 21:18:20 +0000
commit2135d9e2fda58dcf1c9a40266fd1b38c1cd4d71f (patch)
tree0fc9e2c24f85606e7b40d24e735d25c339ef583a /openbox/action.h
parent4d5885d271d4943636e7e775492e8f4bd7fe8a84 (diff)
make SendToDesktop action work right, give the option of following
Diffstat (limited to 'openbox/action.h')
-rw-r--r--openbox/action.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/openbox/action.h b/openbox/action.h
index a8f37e15..9c204e35 100644
--- a/openbox/action.h
+++ b/openbox/action.h
@@ -26,6 +26,12 @@ struct MoveResizeRelative {
int delta;
};
+struct SendToDesktop {
+ Client *c;
+ guint desk;
+ gboolean follow;
+};
+
struct SendToNextPreviousDesktop {
Client *c;
gboolean wrap;
@@ -67,6 +73,7 @@ union ActionData {
struct Execute execute;
struct ClientAction client;
struct MoveResizeRelative relative;
+ struct SendToDesktop sendto;
struct SendToNextPreviousDesktop sendtonextprev;
struct Desktop desktop;
struct NextPreviousDesktop nextprevdesktop;
@@ -155,7 +162,7 @@ void action_maximize_vert(union ActionData *data);
void action_unmaximize_vert(union ActionData *data);
/* ClientAction */
void action_toggle_maximize_vert(union ActionData *data);
-/* Desktop */
+/* SendToDesktop */
void action_send_to_desktop(union ActionData *data);
/* SendToNextPreviousDesktop */
void action_send_to_next_desktop(union ActionData *data);