From 07e208aa73a69505264e8a2922699e09ad708d58 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 11 May 2022 15:03:31 +0200 Subject: [PATCH] unminimize on activate --- src/managers/XWaylandManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/managers/XWaylandManager.cpp b/src/managers/XWaylandManager.cpp index 13a60b7c..df3d34de 100644 --- a/src/managers/XWaylandManager.cpp +++ b/src/managers/XWaylandManager.cpp @@ -46,6 +46,9 @@ void CHyprXWaylandManager::activateWindow(CWindow* pWindow, bool activate) { return; if (pWindow->m_bIsX11) { + if (pWindow->m_uSurface.xwayland->minimized) + wlr_xwayland_surface_set_minimized(pWindow->m_uSurface.xwayland, false); + wlr_xwayland_surface_activate(pWindow->m_uSurface.xwayland, activate); wlr_xwayland_surface_restack(pWindow->m_uSurface.xwayland, NULL, XCB_STACK_MODE_ABOVE); }