[Mplayer-cvslog] CVS: main/libvo vo_xmga.c,1.45,1.46 vo_xvidix.c,1.20,1.21
Zoltan Ponekker
pontscho at mplayer.dev.hu
Wed Feb 20 11:02:41 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv708
Modified Files:
vo_xmga.c vo_xvidix.c
Log Message:
add new input cucc
Index: vo_xmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xmga.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- vo_xmga.c 9 Feb 2002 01:21:48 -0000 1.45
+++ vo_xmga.c 20 Feb 2002 10:02:29 -0000 1.46
@@ -330,6 +330,13 @@
XSetNormalHints( mDisplay,mWindow,&hint );
XStoreName( mDisplay,mWindow,mTitle );
XMapWindow( mDisplay,mWindow );
+
+ XSelectInput(mDisplay, mWindow, StructureNotifyMask | KeyPressMask
+#ifdef HAVE_NEW_INPUT
+ | ButtonPressMask | ButtonReleaseMask
+#endif
+ );
+
#ifdef HAVE_XINERAMA
vo_x11_xinerama_move(mDisplay,mWindow);
#endif
Index: vo_xvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xvidix.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- vo_xvidix.c 9 Feb 2002 01:21:48 -0000 1.20
+++ vo_xvidix.c 20 Feb 2002 10:02:29 -0000 1.21
@@ -334,7 +334,13 @@
hint.base_height = hint.height = window_height;
hint.flags = USPosition | USSize;
XSetNormalHints(mDisplay, mWindow, &hint);
-
+
+ XSelectInput(mDisplay, mWindow, StructureNotifyMask | KeyPressMask
+#ifdef HAVE_NEW_INPUT
+ | ButtonPressMask | ButtonReleaseMask
+#endif
+ );
+
XStoreName(mDisplay, mWindow, title);
/* Map window. */
More information about the MPlayer-cvslog
mailing list