]> Dogcows Code - chaz/openbox/commitdiff
add code to make net_active_window events work
authorDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 17:24:24 +0000 (17:24 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 17:24:24 +0000 (17:24 +0000)
openbox/event.c

index b4bfd9baf73039b2f4e0bc0498d193acdd28d076..deb3bb47929a8403926f564547e67941da9bc644 100644 (file)
@@ -521,7 +521,10 @@ static void event_handle_client(Client *client, XEvent *e)
                /* if its not visible for other reasons, then don't mess
                   with it */
                return;
-           /*HOOKFIRECLIENT(requestactivate, client);XXX*/
+            if (client->shaded)
+                client_shade(client, FALSE);
+            client_focus(client);
+            stacking_raise(client);
        }
        break;
     case PropertyNotify:
This page took 0.026629 seconds and 4 git commands to generate.