From d227643ab02d8cf8b955df4034c6c00219a0cbc1 Mon Sep 17 00:00:00 2001 From: Raffael Stocker Date: Sun, 4 Feb 2024 13:41:28 +0100 Subject: [PATCH] Document workaround for a stuck Windows key on MS-Windows (bug#68914) * doc/emacs/msdos.texi (Windows Keyboard): describe workaround --- doc/emacs/msdos.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/emacs/msdos.texi b/doc/emacs/msdos.texi index 861c0d90dc6..1c633adde65 100644 --- a/doc/emacs/msdos.texi +++ b/doc/emacs/msdos.texi @@ -697,6 +697,16 @@ Windows Keyboard its normal effect: for example, @kbd{@key{Lwindow}} opens the @code{Start} menu, etc. +@cindex Windows key getting stuck (MS-Windows) + Some users experience the Windows key getting ``stuck'' while Emacs is +running, that is, Windows behaves as if the key were permanently pressed +down. This may happen even when no Emacs frame is focussed. If you see +this behavior, you can try setting the variable +@code{LowLevelHooksTimeout} in the registry key +@samp{HKEY_CURRENT_USER\Control Panel\Desktop} to a higher value, adding +it if it does not yet exist. The default value is 200 ms, and it can be +increased to up to 1000 ms. + @vindex w32-recognize-altgr @kindex AltGr @r{(MS-Windows)} @cindex @key{AltGr} key (MS-Windows) -- 2.43.0