fixed layersurface focus quirks

This commit is contained in:
vaxerski
2022-07-08 13:19:57 +02:00
parent 92e17f2925
commit 8482063157
2 changed files with 14 additions and 3 deletions

View File

@@ -619,6 +619,9 @@ void CCompositor::focusSurface(wlr_surface* pSurface, CWindow* pWindowOwner) {
Debug::log(LOG, "Set keyboard focus to surface %x, with window name: %s", pSurface, pWindowOwner->m_szTitle.c_str());
else
Debug::log(LOG, "Set keyboard focus to surface %x", pSurface);
g_pXWaylandManager->activateSurface(pSurface, false);
m_pLastFocus = pSurface;
}
bool CCompositor::windowValidMapped(CWindow* pWindow) {