mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:46:00 +01:00
fix minor focus oopsie
This commit is contained in:
parent
83e4006b16
commit
1a767b021b
1 changed files with 2 additions and 1 deletions
|
@ -752,7 +752,8 @@ void CCompositor::focusWindow(CWindow* pWindow, wlr_surface* pSurface) {
|
||||||
if (windowValidMapped(PLASTWINDOW)) {
|
if (windowValidMapped(PLASTWINDOW)) {
|
||||||
updateWindowAnimatedDecorationValues(PLASTWINDOW);
|
updateWindowAnimatedDecorationValues(PLASTWINDOW);
|
||||||
|
|
||||||
g_pXWaylandManager->activateWindow(PLASTWINDOW, false);
|
if (!pWindow->m_bIsX11 || pWindow->m_iX11Type == 1)
|
||||||
|
g_pXWaylandManager->activateWindow(PLASTWINDOW, false);
|
||||||
|
|
||||||
if (PLASTWINDOW->m_phForeignToplevel)
|
if (PLASTWINDOW->m_phForeignToplevel)
|
||||||
wlr_foreign_toplevel_handle_v1_set_activated(PLASTWINDOW->m_phForeignToplevel, false);
|
wlr_foreign_toplevel_handle_v1_set_activated(PLASTWINDOW->m_phForeignToplevel, false);
|
||||||
|
|
Loading…
Reference in a new issue