diff options
Diffstat (limited to 'Gui/mplayer')
-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; |