summaryrefslogtreecommitdiff
path: root/action.c
diff options
context:
space:
mode:
authorMiroslav Koškár <mk@mkoskar.com>2020-07-06 07:48:48 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2020-10-21 06:22:55 +0000
commita0a4f112c5858ac2b932247dba2d85061bb59145 (patch)
tree7a097ba75697b101398b451152fc5f686c1f39d0 /action.c
parent101d5f2bce9ee13521fe9cb47b7cfd00d01f5914 (diff)
Fix lockdevbtn to be XkbSA_LockDeviceBtn action
Diffstat (limited to 'action.c')
-rw-r--r--action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.c b/action.c
index 292f2ea..02f653e 100644
--- a/action.c
+++ b/action.c
@@ -111,7 +111,7 @@ stringToAction(const char *str, unsigned *type_rtrn)
else if (uStrCaseCmp(str, "devicebutton") == 0)
*type_rtrn = XkbSA_DeviceBtn;
else if (uStrCaseCmp(str, "lockdevbtn") == 0)
- *type_rtrn = XkbSA_DeviceBtn;
+ *type_rtrn = XkbSA_LockDeviceBtn;
else if (uStrCaseCmp(str, "lockdevicebtn") == 0)
*type_rtrn = XkbSA_LockDeviceBtn;
else if (uStrCaseCmp(str, "lockdevbutton") == 0)