This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdrive. commit 43afdbe140d581c99404bcae40a93505ad19e93e Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Tue Mar 15 11:19:25 2022 -0600 sending KEYRELEASE immediately after KEYPRESS to avoid the "key sticking". --- debian/changelog | 1 + x2gokdriveremote.c | 3 +++ x2gokdriveremote.h | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 3a5c40c..c4a7e72 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,6 +32,7 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium - rootless mode for x2gokdrive. - improve icon handling in rootless mode. - don't show invisible windows. + - sending KEYRELEASE immediately after KEYPRESS to avoid the "key sticking". [ Mihai Moldovan ] * Initial release: diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c index 8aba731..f9bd628 100644 --- a/x2gokdriveremote.c +++ b/x2gokdriveremote.c @@ -2472,6 +2472,9 @@ clientReadNotify(int fd, int ready, void *data) // } ephyrClientKey(event_type,state, key); + +//send key release immeidately after key press to avoid "key sticking" + ephyrClientKey(KeyRelease,state, key); break; } case KeyRelease: diff --git a/x2gokdriveremote.h b/x2gokdriveremote.h index d447687..dccea67 100644 --- a/x2gokdriveremote.h +++ b/x2gokdriveremote.h @@ -99,8 +99,9 @@ //Changes 3 - 4: extended clipboard support for web client //Changes 4 - 5: support for CACHEREBUILD event //Changes 5 - 6: support for rootless mode +//Changes 6 - 7: Sending KEYRELEASE immediately after KEYPRESS to avoid the "key sticking" -#define FEATURE_VERSION 6 +#define FEATURE_VERSION 7 #define MAXMSGSIZE 1024*16 -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git