From 2135d9e2fda58dcf1c9a40266fd1b38c1cd4d71f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 29 Mar 2003 21:18:20 +0000 Subject: make SendToDesktop action work right, give the option of following --- openbox/action.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'openbox/action.h') 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); -- cgit v1.2.3