From 32a81a7311f7396f0f8dfc3c67ab8659d1b7f9b9 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 18 May 2005 06:46:29 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=6186 --- client/app_graphics.C | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/app_graphics.C b/client/app_graphics.C index 464f68e408..51fe0ac09d 100644 --- a/client/app_graphics.C +++ b/client/app_graphics.C @@ -75,17 +75,17 @@ void ACTIVE_TASK::check_graphics_mode_ack() { "ACTIVE_TASK::check_graphics_mode_ack(): got graphics ack %s for %s\n", buf, result->name ); - if (gm.mode != MODE_REREAD_PREFS) { - graphics_mode_acked = gm.mode; - } - if (gm.mode == MODE_HIDE_GRAPHICS && - graphics_mode_acked_old == MODE_FULLSCREEN && + if (gm.mode == MODE_HIDE_GRAPHICS && // new mode + graphics_mode_acked == MODE_FULLSCREEN && // old mode is_ss_app) { gstate.ss_logic.stop_ss(); scope_messages.printf( "ACTIVE_TASK::check_graphics_mode_ack(): shutting down the screensaver" ); } + if (gm.mode != MODE_REREAD_PREFS) { + graphics_mode_acked = gm.mode; + } } }