mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[client,sdl] fix ubuntu 20.04 compatibility
This commit is contained in:
@@ -227,7 +227,11 @@ bool SDLConnectionDialog::handle(const SDL_Event& event)
|
||||
{
|
||||
auto ev = reinterpret_cast<const SDL_TouchFingerEvent&>(event);
|
||||
update(_renderer);
|
||||
#if SDL_VERSION_ATLEAST(2, 0, 18)
|
||||
return windowID == ev.windowID;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
case SDL_WINDOWEVENT:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user