projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69177d8
)
onlt raise the window when sending to a desktop it wasnt already on
author
Dana Jansens
<danakj@orodu.net>
Fri, 28 Mar 2003 11:17:52 +0000
(11:17 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 28 Mar 2003 11:17:52 +0000
(11:17 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index eddd96c427dc1de5cc08381133ce82aa26071790..95d1e97e1539613eb1c7b4c19a33017fac88fa2d 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-1721,7
+1721,9
@@
void client_set_desktop(Client *self, guint target, gboolean donthide)
/* 'move' the window to the new desktop */
if (!donthide)
client_showhide(self);
- stacking_raise(self);
+ /* raise if it was not already on the desktop */
+ if (old != DESKTOP_ALL)
+ stacking_raise(self);
screen_update_struts();
/* update the focus lists */