mirror of git://git.suckless.org/dwm
small performance tweak ;)
This commit is contained in:
parent
6a39a496d0
commit
b098c94ed4
4
event.c
4
event.c
|
@ -189,8 +189,10 @@ configurerequest(XEvent *e)
|
||||||
XSendEvent(dpy, c->win, True, NoEventMask, &synev);
|
XSendEvent(dpy, c->win, True, NoEventMask, &synev);
|
||||||
}
|
}
|
||||||
XSync(dpy, False);
|
XSync(dpy, False);
|
||||||
|
if(c->isfloat)
|
||||||
|
resize(c, False, TopLeft);
|
||||||
|
else
|
||||||
arrange(NULL);
|
arrange(NULL);
|
||||||
drawall();
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
wc.x = ev->x;
|
wc.x = ev->x;
|
||||||
|
|
Loading…
Reference in New Issue