Inhibit fixes

This commit is contained in:
vaxerski 2022-04-18 17:16:01 +02:00
parent 8e14f3a08d
commit 7ae87a233c
4 changed files with 14 additions and 2 deletions

View file

@ -143,7 +143,8 @@ void Events::listener_commitDragIcon(void* owner, void* data) {
void Events::listener_InhibitActivate(wl_listener* listener, void* data) {
Debug::log(LOG, "Activated exclusive for %x.", g_pCompositor->m_sSeat.exclusiveClient);
g_pInputManager->refocus();
g_pCompositor->m_sSeat.exclusiveClient = g_pCompositor->m_sWLRInhibitMgr->active_client;
}