   		XSetErrorHandler(xerror);
   		XUngrabServer(dpy);
   	}
---- 1674,1721 ----
+--- 1677,1724 ----
   
   	if(!selmon->sel)
   		return;

  		die("dwm: cannot open display\n");
  	checkotherwm();
  	setup();
--- 2022,2035 ----
  }
  
  int

  	arrange(selmon);
  }
  
--- 1664,1673 ----
  togglefloating(const Arg *arg) {
  	if(!selmon->sel)
  		return;
