From 86cf0dc916d0d6430c0a6e6e9be12bd92255b9d3 Mon Sep 17 00:00:00 2001 From: Gaven Rendell Date: Sun, 4 Apr 2021 13:00:18 -0400 Subject: [PATCH] Remove Windows check --- src/openrct2-ui/UiContext.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openrct2-ui/UiContext.cpp b/src/openrct2-ui/UiContext.cpp index 8ef79e62a5..b5510dec5e 100644 --- a/src/openrct2-ui/UiContext.cpp +++ b/src/openrct2-ui/UiContext.cpp @@ -523,10 +523,10 @@ public: #endif case SDL_KEYDOWN: { -#if !(defined(__MACOSX__) || defined(__WINDOWS__)) - // Ignore winkey keydowns. Handles edge case where *NIX - // tiling window managers don't eat the keypresses when - // changing workspaces. +#ifndef __MACOSX__ + // Ignore winkey keydowns. Handles edge case where tiling + // window managers don't eat the keypresses when changing + // workspaces. if (SDL_GetModState() & KMOD_GUI) { break;