grab.c: fix rendering of sweep
This commit is contained in:
parent
d20e89e3a6
commit
a2d3fc7ffc
1 changed files with 1 additions and 1 deletions
2
grab.c
2
grab.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue