drop PointerMotion events while resizing

This commit is contained in:
Julien Danjou 2007-12-28 17:39:29 +01:00
parent e60b300112
commit 88ee1e037e
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ uicb_client_movemouse(int screen, char *arg __attribute__ ((unused)))
else if(abs((area.y + area.height) - (ny + c->h + 2 * c->border)) < globalconf.screens[screen].snap)
ny = area.y + area.height - c->h - 2 * c->border;
client_resize(c, nx, ny, c->w, c->h, False, False);
while(XCheckMaskEvent(globalconf.display, PointerMotionMask, &ev));
break;
}
}