diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-11 14:57:41 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-11 14:57:41 +0000 |
commit | e6215bef4078ff772f74e9cad7aa327a5a2b5ef5 (patch) | |
tree | e110bbce4ee487a474d7058701fca5aebbd6f2d1 /Gui | |
parent | a7c47b7910df660702cae6350c44da07a3c8b5d5 (diff) | |
download | mpv-e6215bef4078ff772f74e9cad7aa327a5a2b5ef5.tar.bz2 mpv-e6215bef4078ff772f74e9cad7aa327a5a2b5ef5.tar.xz |
fix some small bug and -rootwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6044 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r-- | Gui/mplayer/mw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Gui/mplayer/mw.h b/Gui/mplayer/mw.h index fbd4ea29bf..b78fb30685 100644 --- a/Gui/mplayer/mw.h +++ b/Gui/mplayer/mw.h @@ -147,6 +147,8 @@ void mplMainDraw( wsParamDisplay ) txSample * image = NULL; int i; + if ( appMPlayer.mainWindow.State == wsWindowClosed ) exit_player( MSGTR_Exit_quit ); + if ( appMPlayer.mainWindow.Visible == wsWindowNotVisible || !mainVisible ) return; // !appMPlayer.mainWindow.Mapped ) return; |