浏览代码

always updategeom when root is configured

nsz@tpx 16 年之前
父节点
当前提交
9c066c24b3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dwm.c

+ 1 - 1
dwm.c

@@ -530,7 +530,7 @@ configurenotify(XEvent *e) {
 	Monitor *m;
 	XConfigureEvent *ev = &e->xconfigure;
 
-	if(ev->window == root && (ev->width != sw || ev->height != sh)) {
+	if(ev->window == root) {
 		sw = ev->width;
 		sh = ev->height;
 		updategeom();