From 294e103421e99c019470e4ab97c6e66d3649e949 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Fri, 16 Nov 2018 08:11:07 +0100 Subject: [PATCH] add noactivateapp check --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 4a54085..fbe39e8 100644 --- a/src/main.c +++ b/src/main.c @@ -1053,7 +1053,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { // let it pass through once (tiberian sun) static BOOL oneTime; - if (wParam && !oneTime && !ddraw->hidemouse) + if (wParam && !oneTime && !ddraw->hidemouse && ddraw->noactivateapp) { oneTime = TRUE; break;