From 43b10b0737bf50abb88b2152de923520a8864e39 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Sun, 3 Jun 2012 15:20:24 +0200 Subject: [PATCH] Comment Sys_AppActivate() since cl_hwnd will be ported later --- TODO | 2 ++ src/windows/system.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/TODO b/TODO index ffacdab9..c5ec73f9 100644 --- a/TODO +++ b/TODO @@ -20,6 +20,8 @@ Windows Port TODO - Ensure that all new headers have header guards. - Replace atoi(), atol() and atof() in Windows code. - Replace rand() with randk() in Windows code. +- Implement Sys_AppActivate() as soon as cl_hwnd is + ported to Yamagi Quake II. The big plan: 1. Get the dedicated server build diff --git a/src/windows/system.c b/src/windows/system.c index 7e945c05..5c0772be 100644 --- a/src/windows/system.c +++ b/src/windows/system.c @@ -392,8 +392,10 @@ Sys_GetClipboardData(void) void Sys_AppActivate(void) { + /* ShowWindow(cl_hwnd, SW_RESTORE); SetForegroundWindow(cl_hwnd); + */ } /* ================================================================ */