Skip to content

Commit

Permalink
always updategeom when root is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
nsz@tpx committed Sep 7, 2009
1 parent 6f6b977 commit 2e653b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2e653b8

Please sign in to comment.