Commit MetaInfo

Revisãoa7e8e77611a7fbed224c31d783aa1519deda1521 (tree)
Hora2018-04-01 16:34:35
AutorKazuhiro Fujieda <fujieda@user...>
CommiterKazuhiro Fujieda

Mensagem de Log

Fix recursive commands not working on Windows 10

On Windows 10, key press events of vKey 7 are not delivered to
Windows. This interferes with mechanics of recursive commands, and
chokes successive all commands. Using vKey 14 instead of 7 solves
this problem.

Mudança Sumário

Diff

--- a/xkeymacsdll/xkeymacsdll.cpp
+++ b/xkeymacsdll/xkeymacsdll.cpp
@@ -398,7 +398,7 @@ LRESULT CALLBACK CXkeymacsDll::KeyboardProc(int nCode, WPARAM wParam, LPARAM lPa
398398 BYTE nKey = nOrigKey;
399399
400400 static BOOL bLocked = FALSE;
401- static const BYTE RECURSIVE_KEY = 0x07;
401+ static const BYTE RECURSIVE_KEY = 14;
402402 static int (*fLastCommand)() = NULL;
403403 static BYTE nOneShotModifier[MAX_KEY] = {'\0'};
404404 static BOOL bCherryOneShotModifier = FALSE;
Show on old repository browser