summaryrefslogtreecommitdiff
path: root/src/config/lua/objects/LuaKeybind.cpp
diff options
context:
space:
mode:
authorMightyPlaza <123664421+MightyPlaza@users.noreply.github.com>2026-04-30 11:59:03 +0000
committerGitHub <noreply@github.com>2026-04-30 12:59:03 +0100
commit8884b9e6ce608a22c993b1a871e864171626e8e5 (patch)
treeaf81ea833fc6e556602047c75936b8199ad5641f /src/config/lua/objects/LuaKeybind.cpp
parentd40860e8e27c2abc50cebaae56e16b4ac10af667 (diff)
binds: add an auto_consuming flag (#13919)
Diffstat (limited to 'src/config/lua/objects/LuaKeybind.cpp')
-rw-r--r--src/config/lua/objects/LuaKeybind.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/lua/objects/LuaKeybind.cpp b/src/config/lua/objects/LuaKeybind.cpp
index aab2735d..ea2ce43d 100644
--- a/src/config/lua/objects/LuaKeybind.cpp
+++ b/src/config/lua/objects/LuaKeybind.cpp
@@ -143,6 +143,8 @@ static int keybindIndex(lua_State* L) {
lua_pushboolean(L, (*keybind)->release);
else if (key == "non_consuming")
lua_pushboolean(L, (*keybind)->nonConsuming);
+ else if (key == "auto_consuming")
+ lua_pushboolean(L, (*keybind)->autoConsuming);
else if (key == "transparent")
lua_pushboolean(L, (*keybind)->transparent);
else if (key == "ignore_mods")