From: <mth...@us...> - 2009-12-30 08:08:13
|
Revision: 11063 http://openmsx.svn.sourceforge.net/openmsx/?rev=11063&view=rev Author: mthuurne Date: 2009-12-30 08:08:06 +0000 (Wed, 30 Dec 2009) Log Message: ----------- Only set SDL_ENABLEAPPEVENTS envvar on Apple machines, since it has no effect elsewhere. Modified Paths: -------------- openmsx/trunk/src/main.cc Modified: openmsx/trunk/src/main.cc =================================================================== --- openmsx/trunk/src/main.cc 2009-12-30 07:45:09 UTC (rev 11062) +++ openmsx/trunk/src/main.cc 2009-12-30 08:08:06 UTC (rev 11063) @@ -44,8 +44,10 @@ #if SDL_VERSION_ATLEAST(1, 2, 10) // On Mac OS X, send key combos like Cmd+H and Cmd+M to Cocoa, so it can // perform the corresponding actions. +#if defined(__APPLE__) SDL_putenv(const_cast<char*>("SDL_ENABLEAPPEVENTS=1")); #endif +#endif } static void unexpectedExceptionHandler() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |