diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-05-25 14:31:24 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-05-25 14:31:24 +0000 |
| commit | c83832887bd6ca51fa9e04d91dab086c1bcb4229 (patch) | |
| tree | 3800e8547c1efb850b521c0f7831f1d7722c60a8 /openbox | |
| parent | 9cb80fc994c09ee62f99f46244b840ce25fd40f4 (diff) | |
make omnipresent windows not flicker when changing desktops
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/action.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/action.c b/openbox/action.c index 4436aec9..081b68f5 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1601,7 +1601,7 @@ void action_desktop(union ActionData *data) { screen_set_desktop(data->desktop.desk, TRUE); if (data->inter.any.interactive) - screen_desktop_popup(data->desktop.desk, TRUE); + screen_desktop_popup(data->desktop.desk, focus_client->desktop != DESKTOP_ALL); } } @@ -1621,7 +1621,7 @@ void action_desktop_dir(union ActionData *data) if (!data->sendtodir.inter.any.interactive || (data->sendtodir.inter.final && !data->sendtodir.inter.cancel)) { - if (d != screen_desktop) screen_set_desktop(d, TRUE); + if (d != screen_desktop) screen_set_desktop(d, focus_client->desktop != DESKTOP_ALL); } } |
