diff --git a/checkin_notes b/checkin_notes index ce0f85192f..9a7e98c7ae 100755 --- a/checkin_notes +++ b/checkin_notes @@ -25734,3 +25734,10 @@ Rom 9 Mar 2005 clientgui/ MainFrame.cpp MainDocument.cpp + +David 9 Mar 2005 + - core client: allow show_graphics RPCs even for results + that are not currently scheduled + + client/ + gui_rpc_server.C diff --git a/client/gui_rpc_server.C b/client/gui_rpc_server.C index d0593e3dba..defdd9e03c 100644 --- a/client/gui_rpc_server.C +++ b/client/gui_rpc_server.C @@ -125,8 +125,8 @@ static void handle_result_show_graphics(char* buf, MIOFILE& fout) { return; } atp = gstate.lookup_active_task_by_result(rp); - if (!atp || atp->scheduler_state != CPU_SCHED_SCHEDULED) { - fout.printf("Result not active\n"); + if (!atp) { + fout.printf("no such result\n"); return; } atp->request_graphics_mode(gm); @@ -134,7 +134,7 @@ static void handle_result_show_graphics(char* buf, MIOFILE& fout) { for (unsigned int i=0; ischeduler_state != CPU_SCHED_SCHEDULED) continue; - atp->request_graphics_mode(gm); + atp->request_graphics_mode(gm); } } fout.printf("\n");