--- vo_x11_old.c Thu Jun 13 02:13:43 2002 +++ vo_x11.c Thu Jun 13 02:14:55 2002 @@ -333,6 +333,8 @@ XUnmapWindow( mDisplay,vo_window ); XChangeWindowAttributes( mDisplay,vo_window,xswamask,&xswa ); XSelectInput( mDisplay,vo_window,StructureNotifyMask | KeyPressMask | PropertyChangeMask | PointerMotionMask | ButtonPressMask | ButtonReleaseMask | ExposureMask ); + XGetGeometry( mDisplay,vo_window,&mRootWin,NULL,NULL,&vo_dwidth,&vo_dheight,NULL,NULL ); + XMapWindow( mDisplay,vo_window ); } else XSelectInput( mDisplay,vo_window,ExposureMask ); } else