summaryrefslogtreecommitdiff
path: root/openbox/stacking.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-11 00:01:55 +0000
committerDana Jansens <danakj@orodu.net>2007-05-11 00:01:55 +0000
commit775d5da7ade2d184dfcef5c046b8d39f91804f01 (patch)
treeb6f4aff35cb489c09c446bbf23857d4de417d238 /openbox/stacking.c
parent65d50861ada11f5409680de285f461f16e78c090 (diff)
this fixes pypanel.. heh.
don't activate iconic windows when they raise themselves just raise them. firefox still works so i am happy.
Diffstat (limited to 'openbox/stacking.c')
-rw-r--r--openbox/stacking.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/stacking.c b/openbox/stacking.c
index c9ca514b..66aeebcf 100644
--- a/openbox/stacking.c
+++ b/openbox/stacking.c
@@ -562,7 +562,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)
+ if (activate && !client->iconic)
/* use user=TRUE because it is impossible to get a timestamp
for this */
client_activate(client, FALSE, TRUE);
@@ -573,7 +573,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)
+ if (activate && !client->iconic)
/* use user=TRUE because it is impossible to get a timestamp
for this */
client_activate(client, FALSE, TRUE);
@@ -586,7 +586,7 @@ void stacking_restack_request(ObClient *client, ObClient *sibling,
"%s\n",
client->title, sibling ? sibling->title : "(all)");
if (stacking_occluded(client, sibling)) {
- if (activate)
+ if (activate && !client->iconic)
/* use user=TRUE because it is impossible to get a timestamp
for this */
client_activate(client, FALSE, TRUE);