diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-28 11:17:52 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-28 11:17:52 +0000 |
| commit | 3e8ecbeefaacda2b31bb46e8de58ef743dfaaee4 (patch) | |
| tree | de575e1268cd5b3bc205cf675f124eae211a25cd /openbox | |
| parent | 69177d8760c68616b89ec2a3ec498dd7f76d30e0 (diff) | |
onlt raise the window when sending to a desktop it wasnt already on
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index eddd96c4..95d1e97e 100644 --- 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 */ |
