From 77f2bb3c185bde220f67a2f44b0d996ccfd00352 Mon Sep 17 00:00:00 2001 From: Aaron Kirschen Date: Thu, 23 Nov 2023 14:18:11 -0800 Subject: [PATCH] Fix Linux Wayland Mouse Click Input Issue (#140) Replaced `mouse.Click()` with `mouse.Down()` followed by `mouse.Up()` to address input issues on Linux Wayland (tested on KDE kwin_wayland). This change also ensures continued compatibility with other platforms, including Windows and various Linux environments, preserving consistent and reliable mouse interaction across all supported systems. --- Core/Input/remote.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/Input/remote.lua b/Core/Input/remote.lua index 15536961..2418cd8c 100644 --- a/Core/Input/remote.lua +++ b/Core/Input/remote.lua @@ -30,7 +30,8 @@ actions.MouseUp = function(...) end actions.Click = function(...) - mouse.click(unpack({...})); + mouse.down(unpack({...})); + mouse.up(unpack({...})); end actions.DblClick = function(...)