fix minor focus oopsie
This commit is contained in:
parent
83e4006b16
commit
1a767b021b
1 changed files with 2 additions and 1 deletions
|
|
@ -752,6 +752,7 @@ void CCompositor::focusWindow(CWindow* pWindow, wlr_surface* pSurface) {
|
||||||
if (windowValidMapped(PLASTWINDOW)) {
|
if (windowValidMapped(PLASTWINDOW)) {
|
||||||
updateWindowAnimatedDecorationValues(PLASTWINDOW);
|
updateWindowAnimatedDecorationValues(PLASTWINDOW);
|
||||||
|
|
||||||
|
if (!pWindow->m_bIsX11 || pWindow->m_iX11Type == 1)
|
||||||
g_pXWaylandManager->activateWindow(PLASTWINDOW, false);
|
g_pXWaylandManager->activateWindow(PLASTWINDOW, false);
|
||||||
|
|
||||||
if (PLASTWINDOW->m_phForeignToplevel)
|
if (PLASTWINDOW->m_phForeignToplevel)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue