diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 064162adcf..971b8f91eb 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -334,6 +334,7 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t XUnmapWindow( mDisplay,vo_window ); XChangeWindowAttributes( mDisplay,vo_window,xswamask,&xswa ); XSelectInput( mDisplay,vo_window,StructureNotifyMask | KeyPressMask | PropertyChangeMask | PointerMotionMask | ButtonPressMask | ButtonReleaseMask | ExposureMask ); + XMapWindow( mDisplay,vo_window ); } else XSelectInput( mDisplay,vo_window,ExposureMask ); } else