From 61b77ce3e12501317424b4dfabf07eaf3d9b8a94 Mon Sep 17 00:00:00 2001 From: sleep2144985 Date: Wed, 20 Dec 2023 17:35:11 +0800 Subject: [PATCH] fix: x11 capslock reference the wrong constant --- key/keycode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/key/keycode.h b/key/keycode.h index 4a6771a..d5577fa 100644 --- a/key/keycode.h +++ b/key/keycode.h @@ -179,7 +179,7 @@ enum _MMKeyCode { K_SHIFT = XK_Shift_L, K_LSHIFT = XK_Shift_L, K_RSHIFT = XK_Shift_R, - K_CAPSLOCK = XK_Shift_Lock, + K_CAPSLOCK = XK_Caps_Lock, K_SPACE = XK_space, K_INSERT = XK_Insert, K_PRINTSCREEN = XK_Print,