diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-13 15:13:16 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-13 15:13:16 +0000 |
| commit | 99c6a00cf6cae461f45d8fd3e852a9479f3694bc (patch) | |
| tree | e92b58618a028ed8aad50a28b24b726cf9727623 /openbox/screen.c | |
| parent | 07f60c3a38d562f333df9d41453b2fa872f95410 (diff) | |
don't raise windows when moving them between desktops in some cases
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index 92d4d9a4..3d3d73cd 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -520,7 +520,7 @@ void screen_set_num_desktops(guint num) for (it = client_list; it; it = g_list_next(it)) { ObClient *c = it->data; if (c->desktop >= num && c->desktop != DESKTOP_ALL) - client_set_desktop(c, num - 1, FALSE); + client_set_desktop(c, num - 1, FALSE, TRUE); } /* change our struts/area to match (after moving windows) */ @@ -561,7 +561,7 @@ void screen_set_desktop(guint num, gboolean dofocus) ignore_start = event_start_ignore_all_enters(); if (moveresize_client) - client_set_desktop(moveresize_client, num, TRUE); + client_set_desktop(moveresize_client, num, TRUE, FALSE); /* show windows before hiding the rest to lessen the enter/leave events */ |
