Skip to content

Commit

Permalink
Remove Windows check
Browse files Browse the repository at this point in the history
  • Loading branch information
rendello committed Apr 4, 2021
1 parent c15b630 commit b080079
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/openrct2-ui/UiContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,11 @@ class UiContext final : public IUiContext
#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;
Expand Down

0 comments on commit b080079

Please sign in to comment.