From cac0e913c9e0f31fdce54ec78686e44f4cec0719 Mon Sep 17 00:00:00 2001 From: arpi Date: Wed, 24 Apr 2002 22:49:58 +0000 Subject: [PATCH] -rootwin fix by Tomas Konir git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5822 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xv.c | 1 + 1 file changed, 1 insertion(+) 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