Mercurial > mplayer.hg
changeset 1778:6adf80f99796
move fix
author | pontscho |
---|---|
date | Thu, 30 Aug 2001 16:50:03 +0000 |
parents | fcba80a2e79f |
children | 5e905bf5d715 |
files | Gui/mplayer/sw.h |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/sw.h Thu Aug 30 16:49:46 2001 +0000 +++ b/Gui/mplayer/sw.h Thu Aug 30 16:50:03 2001 +0000 @@ -6,7 +6,8 @@ void mplSubDraw( wsParamDisplay ) { - if ( !appMPlayer.subWindow.Visible || mplShMem->Playing ) return; + if ( !appMPlayer.subWindow.Visible ) return; + if ( mplShMem->Playing ) { vo_expose=1; return; } if ( mplSubRender ) { @@ -44,7 +45,7 @@ { case wsPLMouseButton: mplSubMoved=1; - wsMoveWindow( &appMPlayer.subWindow,RX - sx,RY - sy ); + if ( !appMPlayer.subWindow.isFullScreen ) wsMoveWindow( &appMPlayer.subWindow,RX - sx,RY - sy ); break; case wsPRMouseButton: mplMenuMouseHandle( X,Y,RX,RY ); @@ -53,7 +54,10 @@ } break; case wsRLMouseButton: - if ( !mplSubMoved ) wsMoveTopWindow( &appMPlayer.mainWindow ); + if ( !mplSubMoved ) + { + wsMoveTopWindow( &appMPlayer.mainWindow ); + } msButton=0; mplSubMoved=0; break;