about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-29 12:56:01 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-29 12:56:01 +0200
commitb427a2c6cb9c221075e42d0d1007e980a949a7df (patch)
tree06738d23a6150c6a6389e3eac2a6087538c531dc /event.c
parent14d05e7c725a4a07136ceb123cf760272afc1a87 (diff)
downloaddwm-b427a2c6cb9c221075e42d0d1007e980a949a7df.tar.gz
I changed sanders patch to fix the ff issue to be simplier, though it needs testing if this really fixes the issue
Diffstat (limited to 'event.c')
-rw-r--r--event.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/event.c b/event.c
index 83e1b86..f4ac2d5 100644
--- a/event.c
+++ b/event.c
@@ -177,9 +177,8 @@ configurerequest(XEvent *e) {
 			configure(c);
 		XSync(dpy, False);
 		if(c->isfloat) {
-			resize(c, False, TopLeft);
-			if(!isvisible(c))
-				ban(c);
+			if(isvisible(c))
+				resize(c, False, TopLeft);
 		}
 		else
 			arrange(NULL);
ref='#n20'>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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154