From 4b33ba547a8c7e9dcd670ba6382b3d9810891bbb Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 21 Mar 2004 20:21:57 +0000 Subject: [PATCH] don't know why the expose event was being waited for. doesn't seem to be needed (now, anyway) when going windowed and causes lockup when starting fullscreen --- libs/video/targets/vid_x11.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/libs/video/targets/vid_x11.c b/libs/video/targets/vid_x11.c index 80a76e548..8f85f049b 100644 --- a/libs/video/targets/vid_x11.c +++ b/libs/video/targets/vid_x11.c @@ -508,18 +508,6 @@ VID_Init (unsigned char *palette) x_gc = XCreateGC (x_disp, x_win, valuemask, &xgcvalues); } - // wait for first exposure event - { - XEvent event; - - do { - XNextEvent (x_disp, &event); - if (event.type == Expose && !event.xexpose.count) - oktodraw = true; - } while (!oktodraw); - } - // now safe to draw - // even if MITSHM is available, make sure it's a local connection if (XShmQueryExtension (x_disp)) { char *displayname;