*** empty log message ***

svn path=/trunk/boinc/; revision=6154
This commit is contained in:
Rom Walton 2005-05-13 19:41:11 +00:00
parent 957814bdfd
commit d3a2bde2bb
2 changed files with 18 additions and 2 deletions

View File

@ -313,9 +313,17 @@ LRESULT CALLBACK WndProc(
if (boinc_is_standalone()) {
exit(0);
} else {
if (current_graphics_mode != MODE_FULLSCREEN) {
set_mode(MODE_HIDE_GRAPHICS);
return 0;
}
}
return 0;
case WM_POWERBROADCAST:
if (PBT_APMQUERYSUSPEND == wParam && current_graphics_mode == MODE_FULLSCREEN) {
set_mode(MODE_HIDE_GRAPHICS);
return TRUE;
}
break;
case WM_PAINT:
PAINTSTRUCT ps;
RECT winRect;

View File

@ -6575,3 +6575,11 @@ Janus 13 May 2005
white.css
bbcode.php (new)
Rom 13 May 2005
- When an application is in screensaver mode, do not respond to the WM_CLOSE event
since Intellitype/Intellipoint will try to shutdown the screensavers.
- When in screensaver mode respond to a power broadcast event by shutting ourselves
down so the OS can go to sleep.
api/
windows_opengl.C