mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 00:29:49 +01:00
Fix compiler warnig comparing signed and unsigned integers.
This commit is contained in:
parent
44da575ea8
commit
f825b87c2a
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