summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-13 17:18:57 +0000
committerDana Jansens <danakj@orodu.net>2007-06-13 17:18:57 +0000
commit4669203fd8f7dc2ac4aef40ba1a2ce4be404b00b (patch)
treee8c6a2dfdb82b3622634810d8639752f65946c71 /openbox/client.c
parent8923bd7026755ecc35898c5573fa9c6670a8c56b (diff)
always show the client on desktop change, only use donthide to not hide it
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index f8ebd136..a128d9e6 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -3260,7 +3260,8 @@ void client_set_desktop_recursive(ObClient *self,
frame_adjust_state(self->frame);
/* 'move' the window to the new desktop */
if (!donthide)
- client_showhide(self);
+ client_hide(self);
+ client_show(self);
/* raise if it was not already on the desktop */
if (old != DESKTOP_ALL && !dontraise)
stacking_raise(CLIENT_AS_WINDOW(self));