changeset 34032:afb361a00e1f

Hide cursor during playback in GUI. This closes Bugzilla #1443.
author ib
date Wed, 21 Sep 2011 13:20:12 +0000
parents 83a80dedac69
children 395a736cd075
files gui/interface.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Wed Sep 21 13:15:04 2011 +0000
+++ b/gui/interface.c	Wed Sep 21 13:20:12 2011 +0000
@@ -402,6 +402,8 @@
 
         gui(GUI_SET_FILE, 0);
 
+        wsVisibleMouse(&guiApp.subWindow, wsHideMouseCursor);
+
         switch (guiInfo.StreamType) {
         case STREAMTYPE_PLAYLIST:
             break;
@@ -818,6 +820,7 @@
             wsSetBackgroundRGB(&guiApp.subWindow, guiApp.sub.R, guiApp.sub.G, guiApp.sub.B);
             wsClearWindow(guiApp.subWindow);
             wsPostRedisplay(&guiApp.subWindow);
+            wsVisibleMouse(&guiApp.subWindow, wsShowMouseCursor);
         }
 
         break;