1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00

Markus Rechberger <revenger at shell.dnload.com>:

XMapWindow (vo_x11.c didn't map the Window after using -wid 0x....)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6694 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-07-10 04:58:51 +00:00
parent 2294920c35
commit f8e68b858f

View File

@ -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