From 92bea590c0eff5f56f70093dfa1edef2f65b113f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 28 Mar 2003 08:11:02 +0000 Subject: let a window be 'moved' to a new desktop without actually show/hiding it. useful for sending a window when following it, so theres no flash/flicker --- openbox/action.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openbox/action.c') diff --git a/openbox/action.c b/openbox/action.c index ce96ad41..f0c703ff 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -235,7 +235,7 @@ void action_toggle_omnipresent(union ActionData *data) if (data->client.c) client_set_desktop(data->client.c, data->client.c->desktop == DESKTOP_ALL ? - screen_desktop : DESKTOP_ALL); + screen_desktop : DESKTOP_ALL, FALSE); } void action_move_relative_horz(union ActionData *data) @@ -336,7 +336,7 @@ void action_send_to_desktop(union ActionData *data) if (data->sendto.c) if (data->sendto.desktop < screen_num_desktops || data->sendto.desktop == DESKTOP_ALL) - client_set_desktop(data->sendto.c, data->sendto.desktop); + client_set_desktop(data->sendto.c, data->sendto.desktop, TRUE); } void action_send_to_next_desktop(union ActionData *data) @@ -350,7 +350,7 @@ void action_send_to_next_desktop(union ActionData *data) if (!data->sendtonextprev.wrap) return; d = 0; } - client_set_desktop(data->sendtonextprev.c, d); + client_set_desktop(data->sendtonextprev.c, d, data->sendtonextprev.follow); if (data->sendtonextprev.follow) screen_set_desktop(d); } @@ -365,7 +365,7 @@ void action_send_to_previous_desktop(union ActionData *data) if (!data->sendtonextprev.wrap) return; d = screen_num_desktops - 1; } - client_set_desktop(data->sendtonextprev.c, d); + client_set_desktop(data->sendtonextprev.c, d, data->sendtonextprev.follow); if (data->sendtonextprev.follow) screen_set_desktop(d); } -- cgit v1.2.3