Fix popup and context menus not working on Wayland

This commit is contained in:
2024-07-28 17:47:56 +03:00
committed by Ari Vuollet
parent a41a09c162
commit e7cda362b7
3 changed files with 79 additions and 19 deletions

View File

@@ -32,7 +32,8 @@ private:
Windows::ULONG _refCount;
#endif
#if PLATFORM_LINUX
bool _resizeDisabled, _focusOnMapped = false, _dragOver = false;
bool _dragOver;
bool _forcedFocus;
#endif
SDL_Window* _window;
uint32 _windowId;