event.c
changeset 869 5ea550e6a341
parent 867 067a7784150e
child 872 c7b4661e8902
equal deleted inserted replaced
868:3ccd8e6f0664 869:5ea550e6a341
   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;