From 88de655b2869824a15aabf1e12dc62c44cce045b Mon Sep 17 00:00:00 2001 From: titiger Date: Wed, 16 Nov 2016 23:47:02 +0100 Subject: [PATCH] and revert the last changes .... --- source/shared_lib/sources/platform/sdl/window.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/shared_lib/sources/platform/sdl/window.cpp b/source/shared_lib/sources/platform/sdl/window.cpp index 55001a4ed..b4a3e591f 100644 --- a/source/shared_lib/sources/platform/sdl/window.cpp +++ b/source/shared_lib/sources/platform/sdl/window.cpp @@ -370,11 +370,6 @@ bool Window::handleEvent() { if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d] ALT-F4 pressed.\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__); return false; } - // handle windows key - if(keyName == "Application" || (event.key.keysym.mod & (KMOD_LGUI | KMOD_LGUI))){ - if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d] ALT-F4 pressed.\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__); - return false; - } #endif if(global_window) { //char key = getKey(event.key.keysym,true);