Mercurial > mplayer.hg
diff libvo/vo_xvidix.c @ 4316:9f8a618e87c3
fix screen saver bug under gui
author | pontscho |
---|---|
date | Wed, 23 Jan 2002 15:16:20 +0000 |
parents | 2c7e6c87fb6f |
children | ed5b85b713a3 |
line wrap: on
line diff
--- a/libvo/vo_xvidix.c Wed Jan 23 14:11:19 2002 +0000 +++ b/libvo/vo_xvidix.c Wed Jan 23 15:16:20 2002 +0000 @@ -380,9 +380,6 @@ XSync(mDisplay, False); } -#ifdef HAVE_NEW_GUI - if (vo_window == None) -#endif saver_off(mDisplay); /* turning off screen saver */ return(0); @@ -468,12 +465,12 @@ static void uninit(void) { vidix_term(); + saver_on(mDisplay); /* screen saver back on */ #ifdef HAVE_NEW_GUI /* destroy window only if it's not controlled by GUI */ if (vo_window == None) #endif { - saver_on(mDisplay); /* screen saver back on */ if (!(WinID > 0)) /* don't destory window if -wid specified */ { XDestroyWindow(mDisplay, mWindow);