summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-28 08:11:02 +0000
committerDana Jansens <danakj@orodu.net>2003-03-28 08:11:02 +0000
commit92bea590c0eff5f56f70093dfa1edef2f65b113f (patch)
tree21218baf0a7ad50cbca81f0b2988ce1cb1826d49 /openbox/action.c
parent42bbf005c81d6c5cf27cdcf7ca50443210b7ed17 (diff)
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
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c8
1 files changed, 4 insertions, 4 deletions
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);
}