mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:09:51 +01:00
Merge branch 'make_TTY_unsigned' into fix_left_handed
This commit is contained in:
commit
0d7f6eac9e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue