]> Dogcows Code - chaz/openbox/commitdiff
this fixes pypanel.. heh.
authorDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 00:01:55 +0000 (00:01 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 00:01:55 +0000 (00:01 +0000)
don't activate iconic windows when they raise themselves just raise them. firefox still works so i am happy.

openbox/stacking.c

index c9ca514bc3ddc6c09ab66e513b2ee567a6a4267e..66aeebcf4c17f9346b2eae2694e004681abbbfac 100644 (file)
@@ -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);
This page took 0.026917 seconds and 4 git commands to generate.