diff options
Diffstat (limited to 'src/xlibclient.c')
-rw-r--r-- | src/xlibclient.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xlibclient.c b/src/xlibclient.c index 10ab970..7d5a66d 100644 --- a/src/xlibclient.c +++ b/src/xlibclient.c @@ -254,8 +254,9 @@ xf86DrvMsg(scrnIndex, X_INFO, "blu_mask: 0x%lx\n", pPriv->img->blue_mask); *retGreenMask = pPriv->img->green_mask; *retBlueMask = pPriv->img->blue_mask; - XEvent ev; while (1) { + XEvent ev; + XNextEvent(pPriv->display, &ev); if (ev.type == Expose) { break; |