*** empty log message ***

svn path=/trunk/boinc/; revision=5429
This commit is contained in:
Rom Walton 2005-02-15 07:30:44 +00:00
parent 142370216b
commit a9923d7712
3 changed files with 16 additions and 1 deletions

View File

@ -24760,3 +24760,12 @@ David 14 Feb 2005
app_ipc.C,h
boinc_cmd.C
gui_rpc_client.C,h
Rom 14 Feb 2005
- Use the display information passed from the BOINC Manager and
screensaver.
client/
app_graphics.C
gui_rpc_server.C

View File

@ -38,7 +38,7 @@ void ACTIVE_TASK::request_graphics_mode(GRAPHICS_MSG& m) {
if (!app_client_shm.shm) return;
graphics_msg = m; // save graphics_station, desktop
graphics_msg = m; // save graphics_station, desktop, display
strcpy(buf, xml_graphics_modes[m.mode]);
if (strlen(m.window_station)) {
@ -49,6 +49,10 @@ void ACTIVE_TASK::request_graphics_mode(GRAPHICS_MSG& m) {
sprintf(buf2, "<desktop>%s</desktop>", m.desktop);
strcat(buf, buf2);
}
if (strlen(m.display)) {
sprintf(buf2, "<display>%s</display>", m.display);
strcat(buf, buf2);
}
graphics_request_queue.msg_queue_send(
buf,

View File

@ -124,6 +124,7 @@ static void handle_result_show_graphics(char* buf, MIOFILE& fout) {
parse_str(buf, "<window_station>", gm.window_station, sizeof(gm.window_station));
parse_str(buf, "<desktop>", gm.desktop, sizeof(gm.desktop));
parse_str(buf, "<display>", gm.display, sizeof(gm.display));
if (parse_str(buf, "<result_name>", result_name)) {
PROJECT* p = get_project(buf, fout);
@ -424,6 +425,7 @@ static void handle_set_screensaver_mode(char* buf, MIOFILE& fout) {
parse_double(buf, "<blank_time>", blank_time);
parse_str(buf, "<desktop>", gm.desktop, sizeof(gm.desktop));
parse_str(buf, "<window_station>", gm.window_station, sizeof(gm.window_station));
parse_str(buf, "<display>", gm.display, sizeof(gm.display));
if (match_tag(buf, "<enabled")) {
gstate.ss_logic.start_ss(gm, blank_time );
} else {