summaryrefslogtreecommitdiff
path: root/src/events/Misc.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-24 21:34:24 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-24 21:34:24 +0100
commited5c0a7d33632afac4a7d10782c71d8ee4fdb141 (patch)
treee50fdb976ae22654d647ffc90df61594dff04fe5 /src/events/Misc.cpp
parent7eb2a1023b7b5b25daf8ee836627ab78da2233ca (diff)
Log shifts
Diffstat (limited to 'src/events/Misc.cpp')
-rw-r--r--src/events/Misc.cpp8
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