diff options
| author | sub-kek <100521725+sub-kek@users.noreply.github.com> | 2024-05-10 00:05:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-09 22:05:13 +0100 |
| commit | 7cf810b1813a610e25f169ca9bb2d8ab9b967666 (patch) | |
| tree | bd35d7a0ae4a50ce21b0a967cb27b706d536f385 /src/managers/KeybindManager.cpp | |
| parent | 51b0da2c0daca17adcfdd6df9d0ee2feb88121b1 (diff) | |
keybinds: Fix classic global keybinds(pass dispatcher) (#5967)
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 62265e00..f06dd703 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -1964,7 +1964,7 @@ void CKeybindManager::pass(std::string regexp) { } if (g_pKeybindManager->m_uLastCode != 0) - wlr_seat_keyboard_enter(g_pCompositor->m_sSeat.seat, PLASTSRF, KEYBOARD->keycodes, KEYBOARD->num_keycodes, &KEYBOARD->modifiers); + wlr_seat_keyboard_enter(g_pCompositor->m_sSeat.seat, PWINDOW->m_pWLSurface.wlr(), KEYBOARD->keycodes, KEYBOARD->num_keycodes, &KEYBOARD->modifiers); else wlr_seat_pointer_enter(g_pCompositor->m_sSeat.seat, PWINDOW->m_pWLSurface.wlr(), SL.x, SL.y); } |
