View | Details | Raw Unified | Return to bug 16497 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/modules/X11/devX11.c (-3 / +2 lines)
Lines 1698-1707 X11_Open(pDevDesc dd, pX11Desc xd, const char *dsp, Link Here
1698
	    XMapWindow(display, xd->window);
1698
	    XMapWindow(display, xd->window);
1699
	    XSync(display, 0);
1699
	    XSync(display, 0);
1700
1700
1701
	    /* Gobble expose events */
1701
	    /* Gobble MapNotify events */
1702
1702
1703
	    while ( XPeekEvent(display, &event),
1703
	    while ( XPeekEvent(display, &event),
1704
		    !XCheckTypedEvent(display, Expose, &event))
1704
		    !XCheckTypedEvent(display, MapNotify, &event))
1705
		;
1705
		;
1706
	    /* XNextEvent(display, &event);
1706
	    /* XNextEvent(display, &event);
1707
	       if (event.xany.type == Expose) {
1707
	       if (event.xany.type == Expose) {
1708
- 

Return to bug 16497