diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-25 23:42:44 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-25 23:42:44 +0000 |
| commit | de76611e8aecaabb28925ccc949724ade431d02e (patch) | |
| tree | 1f81e298db10c0f9630c3796602c73ed132f7f78 /openbox | |
| parent | 40f20e93cadcece50a401f521a46bb1ad23b0913 (diff) | |
only preserve focus for normal omnipresent windows
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c index b7cb41c8..f424ca04 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -533,7 +533,8 @@ void screen_set_desktop(guint num, gboolean dofocus) } } - if (focus_client && (focus_client->desktop == DESKTOP_ALL || + if (focus_client && ((client_normal(focus_client) && + focus_client->desktop == DESKTOP_ALL) || focus_client->desktop == screen_desktop)) dofocus = FALSE; |
