*** empty log message ***

svn path=/trunk/boinc/; revision=11016
This commit is contained in:
Charlie Fenton 2006-08-27 00:03:58 +00:00
parent 5357e79162
commit 380c3d6ea9
2 changed files with 11 additions and 19 deletions

View File

@ -285,6 +285,9 @@ static void make_new_window(int mode) {
#ifdef __APPLE__
glutWMCloseFunc(CloseWindow); // Enable the window's close box
BringAppToFront();
// Show window only after a successful call to throttled_app_render();
// this avoids momentary display of old image when screensaver restarts
// which made image appear to "jump."
need_show = true;
#endif
@ -506,22 +509,6 @@ void restart() {
//
//
if (glut_is_initialized ) {
#ifdef __APPLE__
if (boinc_is_standalone()) {
app_debug_msg(
"Assuming user pressed 'close'... means we're exiting now.\n"
);
} else {
app_debug_msg(
"Assuming user pressed 'quit'... means we're exiting now.\n"
);
}
if (boinc_delete_file(LOCKFILE) != 0) {
perror ("Failed to remove lockfile..\n");
}
return;
#else
if (boinc_is_standalone()) {
app_debug_msg(
"Assuming user pressed 'close'... means we're exiting now.\n"
@ -531,7 +518,6 @@ void restart() {
}
return;
}
#endif
}
// re-install the exit-handler to catch glut's notorious exits()...

View File

@ -9375,3 +9375,9 @@ Kevin 25 Aug 2006
sg_ViewTabPage.cpp
sg_ViewTabPage.h
Charlie 26 Aug 2006
-Mac: Add a comment; remove bogus Mac-only code from restart()
in x_opengl.C.
api/
x_opengl.C