From ca18af254e59ebe78af7257d10ca97fa255eeae5 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Tue, 5 Jun 2012 10:11:29 +0200 Subject: [PATCH] Remove Sys_AppActivate() This code is unnecessary because SDL handles all activation events, brings the Window into foreground, etc. --- TODO | 2 -- src/windows/system.c | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/TODO b/TODO index f1dd186f..b1d154ad 100644 --- a/TODO +++ b/TODO @@ -2,8 +2,6 @@ Windows Port TODO ----------------- - Check WITH_SYSTEMWIDE -- Call Sys_AppActivate() in cl_main.c? (otherwise remove it) -- Is Sys_GetGameAPI() correct? - Add platform defines for Windows in common/ and game/ - Check if we really need all the stuff in winquake.h - Due to a bug in MinGW the _controlfp() option defines _PC_24 diff --git a/src/windows/system.c b/src/windows/system.c index c61ee792..e5963b88 100644 --- a/src/windows/system.c +++ b/src/windows/system.c @@ -355,17 +355,6 @@ Sys_SendKeyEvents(void) /* ================================================================ */ -void -Sys_AppActivate(void) -{ - /* - ShowWindow(cl_hwnd, SW_RESTORE); - SetForegroundWindow(cl_hwnd); - */ -} - -/* ================================================================ */ - void Sys_UnloadGame(void) {