projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ee81d
)
add code to make net_active_window events work
author
Dana Jansens
<danakj@orodu.net>
Wed, 19 Mar 2003 17:24:24 +0000
(17:24 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 19 Mar 2003 17:24:24 +0000
(17:24 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index b4bfd9baf73039b2f4e0bc0498d193acdd28d076..deb3bb47929a8403926f564547e67941da9bc644 100644
(file)
--- 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: