mirror of https://github.com/mpv-player/mpv
-rootwin fix by Tomas Konir <moje@molly.vabo.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5822 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b236121043
commit
cac0e913c9
|
@ -417,6 +417,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
|
||||||
vo_x11_classhint( mDisplay,vo_window,"xv" );
|
vo_x11_classhint( mDisplay,vo_window,"xv" );
|
||||||
vo_hidecursor(mDisplay,vo_window);
|
vo_hidecursor(mDisplay,vo_window);
|
||||||
|
|
||||||
|
if(WinID!=0)
|
||||||
XSelectInput(mDisplay, vo_window, StructureNotifyMask | KeyPressMask | PointerMotionMask
|
XSelectInput(mDisplay, vo_window, StructureNotifyMask | KeyPressMask | PointerMotionMask
|
||||||
#ifdef HAVE_NEW_INPUT
|
#ifdef HAVE_NEW_INPUT
|
||||||
| ButtonPressMask | ButtonReleaseMask
|
| ButtonPressMask | ButtonReleaseMask
|
||||||
|
|
Loading…
Reference in New Issue