changeset 5821:4ddef5a1038a

-rootwin fix by Tomas Konir <moje@molly.vabo.cz>
author arpi
date Wed, 24 Apr 2002 22:49:58 +0000
parents 361067944939
children 8e3251d0d9a6
files libvo/vo_xv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xv.c	Wed Apr 24 21:34:41 2002 +0000
+++ b/libvo/vo_xv.c	Wed Apr 24 22:49:58 2002 +0000
@@ -417,6 +417,7 @@
    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