about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
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:
ommitter hut <hut@lavabit.com> 2010-01-08 17:35:56 +0100 added license information' href='/akspecs/ranger/commit/ranger/gui/widgets/taskview.py?h=v1.9.0b1&id=b4c2c703f9acdf39cbd47407ed51a7e7c807ba7d'>b4c2c703 ^
ddf828fb ^
b5393406 ^
ddf828fb ^


0cfc59d6 ^
ddf828fb ^


c4e869dd ^
ddf828fb ^
b5393406 ^
86594dde ^
ea87d005 ^
ddf828fb ^



ddf828fb ^
ddf828fb ^

b5393406 ^
ddf828fb ^

86594dde ^


ddf828fb ^
86594dde ^



4e01caf1 ^
86594dde ^

ddf828fb ^
86594dde ^

d3eff0a9 ^
86594dde ^






ddf828fb ^
86594dde ^

ddf828fb ^
86594dde ^

ddf828fb ^
86594dde ^







ddf828fb ^
86594dde ^
ea87d005 ^
33cb688a ^



ddf828fb ^
b5393406 ^
586f0006 ^



ea87d005 ^
d6e2900a ^
586f0006 ^


d6e2900a ^
586f0006 ^
ddf828fb ^
c4e869dd ^



















ddf828fb ^
c4e869dd ^
ea87d005 ^
ddf828fb ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122