grab.c: fix rendering of sweep

This commit is contained in:
Iris Lightshard 2021-03-10 20:41:53 -05:00
parent d20e89e3a6
commit a2d3fc7ffc
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

2
grab.c
View file

@ -591,7 +591,7 @@ int sweepdrag(
if (XCheckMaskEvent(dpy, ButtonMask, &ev) == 0) {
getmouse(&rx, &ry, c->screen);
if (rx != cx || ry != cy || ++idle > 300) {
drawbound(c, 1);
drawbound(c, 0);
if (rx == cx && ry == cy) {
//XUngrabServer(dpy);
XFlush(dpy);