diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-02-27 23:14:56 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-02-27 23:15:24 +0000 |
| commit | e3373669e5544c3f18cf1edcd8fcfff9c6222f5c (patch) | |
| tree | 4b248f96e35919dad78e06bba255fdf107f1356e /src/Compositor.cpp | |
| parent | f26d7aa58d78e764871ff026fb78f4322f0a6879 (diff) | |
wayland: implement keyboard_shortcuts_inhibit_v1
fixes #4568
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index c290a49d..f0d7ca0f 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -307,6 +307,7 @@ void CCompositor::initAllSignals() { addWLSignal(&m_sWLRGammaCtrlMgr->events.set_gamma, &Events::listen_setGamma, m_sWLRGammaCtrlMgr, "GammaCtrlMgr"); addWLSignal(&m_sWLRCursorShapeMgr->events.request_set_shape, &Events::listen_setCursorShape, m_sWLRCursorShapeMgr, "CursorShapeMgr"); addWLSignal(&m_sWLRTearingControlMgr->events.new_object, &Events::listen_newTearingHint, m_sWLRTearingControlMgr, "TearingControlMgr"); + addWLSignal(&m_sWLRKbShInhibitMgr->events.new_inhibitor, &Events::listen_newShortcutInhibitor, m_sWLRKbShInhibitMgr, "ShortcutInhibitMgr"); if (m_sWRLDRMLeaseMgr) addWLSignal(&m_sWRLDRMLeaseMgr->events.request, &Events::listen_leaseRequest, &m_sWRLDRMLeaseMgr, "DRM"); @@ -360,6 +361,7 @@ void CCompositor::removeAllSignals() { removeWLSignal(&Events::listen_setGamma); removeWLSignal(&Events::listen_setCursorShape); removeWLSignal(&Events::listen_newTearingHint); + removeWLSignal(&Events::listen_newShortcutInhibitor); if (m_sWRLDRMLeaseMgr) removeWLSignal(&Events::listen_leaseRequest); |
