input: add transparent binds

adds a new flag for binds to be transparent (non-shadowable)
fixes #3058
This commit is contained in:
vaxerski
2023-08-25 12:35:24 +02:00
parent ad085666c1
commit 6a5a5ed11e
3 changed files with 22 additions and 12 deletions

View File

@@ -22,6 +22,7 @@ struct SKeybind {
bool repeat = false;
bool mouse = false;
bool nonConsuming = false;
bool transparent = false;
// DO NOT INITIALIZE
bool shadowed = false;
@@ -67,7 +68,7 @@ class CKeybindManager {
inline static std::string m_szCurrentSelectedSubmap = "";
xkb_keysym_t m_kHeldBack = 0;
std::vector<xkb_keysym_t> m_vHeldBack;
SKeybind* m_pActiveKeybind = nullptr;