equal
deleted
inserted
replaced
207 XSync(dpy, False); |
207 XSync(dpy, False); |
208 } |
208 } |
209 |
209 |
210 static void |
210 static void |
211 configurenotify(XEvent *e) { |
211 configurenotify(XEvent *e) { |
212 Client *c; |
|
213 XConfigureEvent *ev = &e->xconfigure; |
212 XConfigureEvent *ev = &e->xconfigure; |
214 XWindowChanges wc; |
|
215 |
213 |
216 if (ev->window == root && (ev->width != sw || ev->height != sh)) { |
214 if (ev->window == root && (ev->width != sw || ev->height != sh)) { |
217 sw = ev->width; |
215 sw = ev->width; |
218 sh = ev->height; |
216 sh = ev->height; |
219 wah = sh - bh; |
217 wah = sh - bh; |