summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-24 22:49:58 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-24 22:49:58 +0000
commitcac0e913c9e0f31fdce54ec78686e44f4cec0719 (patch)
tree9a5b20764eb08e3a644c250acbdd3852fcd45e89 /libvo
parentb236121043b9a92bcbb0016b0b843bee5d7dce22 (diff)
downloadmpv-cac0e913c9e0f31fdce54ec78686e44f4cec0719.tar.bz2
mpv-cac0e913c9e0f31fdce54ec78686e44f4cec0719.tar.xz
-rootwin fix by Tomas Konir <moje@molly.vabo.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5822 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 5881308d6b..8ef925d5a7 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -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_hidecursor(mDisplay,vo_window);
+ if(WinID!=0)
XSelectInput(mDisplay, vo_window, StructureNotifyMask | KeyPressMask | PointerMotionMask
#ifdef HAVE_NEW_INPUT
| ButtonPressMask | ButtonReleaseMask