diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-26 03:08:07 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-26 03:08:07 +0000 |
| commit | b60cf73900135f41802ab010227fe26aa66e6807 (patch) | |
| tree | dae6532021c3d9a93e24c5f1a770aed7d477feb6 | |
| parent | 71af5156bad35b6ea0b45a220fa05cb6f8d745fe (diff) | |
only auto-activate normal windows when they raise themselves (not splash screens or panels or desktops - what desktop would raise itself heh)
| -rw-r--r-- | openbox/stacking.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/stacking.c b/openbox/stacking.c index 0fb19521..ce3befca 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -567,7 +567,7 @@ void stacking_restack_request(ObClient *client, ObClient *sibling, case Above: ob_debug("Restack request Above for client %s sibling %s\n", client->title, sibling ? sibling->title : "(all)"); - if (activate && !client->iconic) + if (activate && !client->iconic && client_normal(client)) /* use user=TRUE because it is impossible to get a timestamp for this */ client_activate(client, FALSE, TRUE); @@ -578,7 +578,7 @@ void stacking_restack_request(ObClient *client, ObClient *sibling, ob_debug("Restack request TopIf for client %s sibling %s\n", client->title, sibling ? sibling->title : "(all)"); if (stacking_occluded(client, sibling)) { - if (activate && !client->iconic) + if (activate && !client->iconic && client_normal(client)) /* use user=TRUE because it is impossible to get a timestamp for this */ client_activate(client, FALSE, TRUE); @@ -591,7 +591,7 @@ void stacking_restack_request(ObClient *client, ObClient *sibling, "%s\n", client->title, sibling ? sibling->title : "(all)"); if (stacking_occluded(client, sibling)) { - if (activate && !client->iconic) + if (activate && !client->iconic && client_normal(client)) /* use user=TRUE because it is impossible to get a timestamp for this */ client_activate(client, FALSE, TRUE); |
