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;