aboutsummaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-12 17:50:31 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-12 17:50:31 +0200
commitb1701adf75297747c52e0c3ed2c314cd10129907 (patch)
tree5afad14f6b53c57b1c063df3ddc434fe138ec5f7 /event.c
parent2e836ecce1ba0629a6088b739c1092d27fccd72b (diff)
new stuff, fixed several issues
Diffstat (limited to 'event.c')
-rw-r--r--event.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/event.c b/event.c
index 93007df..37196d1 100644
--- a/event.c
+++ b/event.c
@@ -186,11 +186,11 @@ propertynotify(XEvent *e)
if(ev->state == PropertyDelete)
return; /* ignore */
- if(ev->atom == wm_atom[WMProtocols]) {
- c->proto = win_proto(c->win);
- return;
- }
if((c = getclient(ev->window))) {
+ if(ev->atom == wm_atom[WMProtocols]) {
+ c->proto = win_proto(c->win);
+ return;
+ }
switch (ev->atom) {
default: break;
case XA_WM_TRANSIENT_FOR: