From ed5c0a7d33632afac4a7d10782c71d8ee4fdb141 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:34:24 +0100 Subject: Log shifts --- src/events/Misc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/events/Misc.cpp') 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 -- cgit v1.2.3