Merge branch 'make_TTY_unsigned' into fix_left_handed

This commit is contained in:
Felix Dick 2022-10-05 04:51:48 +02:00
commit 0d7f6eac9e

View file

@ -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.