From: ehofman Date: Sun, 15 Aug 2004 16:53:11 +0000 (+0000) Subject: Show the mouse cursor again, just before exiting. This could prevent an X windows... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d88f31fda2603fb0d208d41c7da5777787f11786;p=flightgear.git Show the mouse cursor again, just before exiting. This could prevent an X windows crash for certain harware setups. --- diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 57d58828a..2fccf1ea3 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -1507,6 +1507,7 @@ void fgReshape( int width, int height ) { // do some clean up on exit. Specifically we want to call alutExit() // which happens in the sound manager destructor. void fgExitCleanup() { + fgSetMouseCursor(MOUSE_CURSOR_POINTER); delete globals; // fgOSExit(0); }