From: Dana Jansens Date: Wed, 19 Mar 2003 17:24:24 +0000 (+0000) Subject: add code to make net_active_window events work X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=0c16988daa8d7e2ac6532d59fd425bc757275b5a;p=chaz%2Fopenbox add code to make net_active_window events work --- diff --git a/openbox/event.c b/openbox/event.c index b4bfd9ba..deb3bb47 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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: