[MPlayer-cvslog] r25513 - in trunk/libvo: vo_gl.c vo_gl2.c

reimar subversion at mplayerhq.hu
Sat Dec 22 21:17:58 CET 2007


Author: reimar
Date: Sat Dec 22 21:17:57 2007
New Revision: 25513

Log:
Set vo_mouse_autohide in gl and gl2 vos, so the mouse hiding behaviour
becomes the same as for the other vos using X11.


Modified:
   trunk/libvo/vo_gl.c
   trunk/libvo/vo_gl2.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	(original)
+++ trunk/libvo/vo_gl.c	Sat Dec 22 21:17:57 2007
@@ -465,6 +465,7 @@ config(uint32_t width, uint32_t height, 
   if (!vo_w32_config(d_width, d_height, flags))
     return -1;
 #else
+  vo_mouse_autohide = 1;
   if (WinID >= 0) {
     vo_window = WinID ? (Window)WinID : mRootWin;
     vo_x11_selectinput_witherr(mDisplay, vo_window,

Modified: trunk/libvo/vo_gl2.c
==============================================================================
--- trunk/libvo/vo_gl2.c	(original)
+++ trunk/libvo/vo_gl2.c	Sat Dec 22 21:17:57 2007
@@ -521,6 +521,7 @@ static int choose_glx_visual(Display *dp
 
 static int config_glx(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) {
   XVisualInfo *vinfo, vinfo_buf;
+  vo_mouse_autohide = 1;
   if (WinID >= 0) {
     vo_window = WinID ? (Window)WinID : mRootWin;
     vo_x11_selectinput_witherr(mDisplay, vo_window,



More information about the MPlayer-cvslog mailing list