*** empty log message ***

svn path=/trunk/boinc/; revision=3899
This commit is contained in:
David Anderson 2004-07-18 05:30:26 +00:00
parent 23ced2dce4
commit 51ae6d125d
2 changed files with 9 additions and 0 deletions

View File

@ -1638,6 +1638,7 @@ void ACTIVE_TASK::check_graphics_mode_ack() {
char buf[MSG_CHANNEL_SIZE];
if (app_client_shm.shm->graphics_reply.get_msg(buf)) {
mode = app_client_shm.decode_graphics_msg(buf);
//msg_printf(NULL, MSG_INFO, "got graphics ack %d", mode);
if (mode != MODE_REREAD_PREFS) {
graphics_mode_acked = mode;
}
@ -1695,6 +1696,7 @@ void ACTIVE_TASK_SET::save_app_modes() {
atp = active_tasks[i];
if (atp->scheduler_state != CPU_SCHED_RUNNING) continue;
atp->graphics_mode_before_ss = atp->graphics_mode_acked;
//msg_printf(NULL, MSG_INFO, "saved mode %d", atp->graphics_mode_acked);
}
}

View File

@ -74,6 +74,13 @@ void SS_LOGIC::stop_ss() {
void SS_LOGIC::poll() {
ACTIVE_TASK* atp;
#if 0
// if you want to debug screensaver functionality...
static int foo=0;
foo++;
if (foo == 8) start_ss(time(0)+1000);
#endif
if (!gstate.activities_suspended) {
if (do_ss) {
if (blank_time && (time(0) > blank_time)) {