projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81af5a8
)
move to the desktop of the activated window
author
Dana Jansens
<danakj@orodu.net>
Fri, 11 Jul 2003 00:08:43 +0000
(
00:08
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 11 Jul 2003 00:08:43 +0000
(
00:08
+0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
a339bf0
..
3ed2e9d
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-2425,7
+2425,10
@@
void client_activate(ObClient *self)
if (client_normal(self) && screen_showing_desktop)
screen_show_desktop(FALSE);
if (self->iconic)
- client_iconify(self, FALSE, TRUE);
+ client_iconify(self, FALSE, FALSE);
+ if (self->desktop != DESKTOP_ALL &&
+ self->desktop != screen_desktop)
+ screen_set_desktop(self->desktop);
else if (!self->frame->visible)
/* if its not visible for other reasons, then don't mess
with it */