Mercurial > mplayer.hg
changeset 36929:582dd379524b
Fix bug with disappearing mouse pointer in playbar.
Since r34119 vo_mouse_autohide no longer has an effect.
The GUI is in control of the mouse pointer's visibility
by itself now.
author | ib |
---|---|
date | Wed, 19 Mar 2014 14:21:50 +0000 |
parents | 6738386f30da |
children | dcd4562389bd |
files | gui/ui/playbar.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/playbar.c Wed Mar 19 14:16:30 2014 +0000 +++ b/gui/ui/playbar.c Wed Mar 19 14:21:50 2014 +0000 @@ -82,7 +82,7 @@ { playbarLength=guiApp.videoWindow.Height - guiApp.playbar.height; uiPlaybarFade=0; - vo_mouse_autohide=False; + wsMouseVisibility(&guiApp.videoWindow, wsShowMouseCursor); } wsWindowMove( &guiApp.playbarWindow,True,x,playbarLength ); break; @@ -93,7 +93,7 @@ playbarLength=guiApp.videoWindow.Height; uiPlaybarFade=0; playbarVisible=False; - vo_mouse_autohide=True; + wsMouseVisibility(&guiApp.videoWindow, wsHideMouseCursor); wsWindowVisibility( &guiApp.playbarWindow,wsHideWindow ); return; } @@ -107,7 +107,7 @@ btnModify( evSetMoviePosition,guiInfo.Position ); btnModify( evSetVolume,guiInfo.Volume ); - vo_mouse_autohide=False; + wsMouseVisibility(&guiApp.videoWindow, wsShowMouseCursor); fast_memcpy( playbarDrawBuffer,guiApp.playbar.Bitmap.Image,guiApp.playbar.Bitmap.ImageSize ); RenderAll( &guiApp.playbarWindow,guiApp.playbarItems,guiApp.IndexOfPlaybarItems,playbarDrawBuffer );