summaryrefslogtreecommitdiff
path: root/openbox/event.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/event.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/event.c')
-rw-r--r--openbox/event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 7e0dc0aa..13586f70 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -523,7 +523,8 @@ static void event_handle_client(Client *client, XEvent *e)
}
if ((unsigned)e->xclient.data.l[0] < screen_num_desktops ||
(unsigned)e->xclient.data.l[0] == DESKTOP_ALL)
- client_set_desktop(client, (unsigned)e->xclient.data.l[0]);
+ client_set_desktop(client, (unsigned)e->xclient.data.l[0],
+ FALSE);
} else if (msgtype == prop_atoms.net_wm_state) {
/* can't compress these */
g_message("net_wm_state %s %ld %ld for 0x%lx",