better fix to window flash bug on new -- also

happens on resize.
This commit is contained in:
rsc 2004-04-06 15:20:01 +00:00
parent 88cbb82295
commit 3e3817f7c8
2 changed files with 2 additions and 4 deletions

View file

@ -604,6 +604,8 @@ sweep(Client *c, int but, XButtonEvent *ignored)
ScreenInfo *s;
s = c->screen;
c->dx = 0;
c->dy = 0;
status = grab(s->root, s->root, ButtonMask, s->sweep0, 0);
if (status != GrabSuccess) {
graberror("sweep", status); /* */