diff options
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index f359f577..e1c5ef55 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -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) { |
