diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2022-10-05 08:06:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-05 08:06:38 +0100 |
| commit | 9153a8109071b4301a9703f6e01285ec5bd091d0 (patch) | |
| tree | 3c8f5494a9f04afecc7263cd2ee30db51f23b86c /src/managers/KeybindManager.cpp | |
| parent | 44da575ea87d5f6a919d0d84ff44d021f5b30699 (diff) | |
| parent | 0d7f6eac9e8e71e7ec82a00640f5f6dfc042d5b5 (diff) | |
Merge pull request #781 from Dickby/fix_left_handed
Fix getDeviceInt string arg "input:left_handed"
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 2d1e6304..337ce059 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -425,7 +425,7 @@ bool CKeybindManager::handleVT(xkb_keysym_t keysym) { const auto PSESSION = wlr_backend_get_session(g_pCompositor->m_sWLRBackend); if (PSESSION) { - const int TTY = keysym - XKB_KEY_XF86Switch_VT_1 + 1; + const unsigned int TTY = keysym - XKB_KEY_XF86Switch_VT_1 + 1; if (PSESSION->vtnr == TTY) return false; // don't do anything. |
