   		focus(NULL);
   	}
   }
---- 1394,1419 ----
+--- 1420,1445 ----
   			handler[ev.type](&ev);
   			break;
   		case MotionNotify:

  		XSetErrorHandler(xerror);
  		XUngrabServer(dpy);
  	}
--- 1696,1743 ----
  
  	if(!selmon->sel)
  		return;

  		switch(ev.type) {
  		case ConfigureRequest:
  		case Expose:
--- 1312,1418 ----
  
  void
  clientmessage(XEvent *e) {
