From 0c16988daa8d7e2ac6532d59fd425bc757275b5a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 19 Mar 2003 17:24:24 +0000 Subject: [PATCH] add code to make net_active_window events work --- openbox/event.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: -- 2.39.2