diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-24 21:34:24 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-24 21:34:24 +0100 |
| commit | ed5c0a7d33632afac4a7d10782c71d8ee4fdb141 (patch) | |
| tree | e50fdb976ae22654d647ffc90df61594dff04fe5 /src/events/Misc.cpp | |
| parent | 7eb2a1023b7b5b25daf8ee836627ab78da2233ca (diff) | |
Log shifts
Diffstat (limited to 'src/events/Misc.cpp')
| -rw-r--r-- | src/events/Misc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/events/Misc.cpp b/src/events/Misc.cpp index 545c4995..7bd08a57 100644 --- a/src/events/Misc.cpp +++ b/src/events/Misc.cpp @@ -82,14 +82,14 @@ void Events::listener_startDrag(wl_listener* listener, void* data) { } void Events::listener_InhibitActivate(wl_listener* listener, void* data) { - g_pCompositor->m_sSeat.exclusiveClient = g_pCompositor->m_sWLRInhibitMgr->active_client; - Debug::log(LOG, "Activated exclusive for %x.", g_pCompositor->m_sSeat.exclusiveClient); + + g_pCompositor->m_sSeat.exclusiveClient = g_pCompositor->m_sWLRInhibitMgr->active_client; } void Events::listener_InhibitDeactivate(wl_listener* listener, void* data) { + Debug::log(LOG, "Deactivated exclusive."); + g_pCompositor->m_sSeat.exclusiveClient = nullptr; g_pInputManager->refocus(); - - Debug::log(LOG, "Deactivated exclusive."); }
\ No newline at end of file |
