[MPlayer-cvslog] r34120 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Wed Sep 21 15:20:13 CEST 2011


Author: ib
Date: Wed Sep 21 15:20:12 2011
New Revision: 34120

Log:
Hide cursor during playback in GUI.

This closes Bugzilla #1443.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Wed Sep 21 15:15:04 2011	(r34119)
+++ trunk/gui/interface.c	Wed Sep 21 15:20:12 2011	(r34120)
@@ -402,6 +402,8 @@ int gui(int what, void *data)
 
         gui(GUI_SET_FILE, 0);
 
+        wsVisibleMouse(&guiApp.subWindow, wsHideMouseCursor);
+
         switch (guiInfo.StreamType) {
         case STREAMTYPE_PLAYLIST:
             break;
@@ -818,6 +820,7 @@ int gui(int what, void *data)
             wsSetBackgroundRGB(&guiApp.subWindow, guiApp.sub.R, guiApp.sub.G, guiApp.sub.B);
             wsClearWindow(guiApp.subWindow);
             wsPostRedisplay(&guiApp.subWindow);
+            wsVisibleMouse(&guiApp.subWindow, wsShowMouseCursor);
         }
 
         break;


More information about the MPlayer-cvslog mailing list