unminimize on activate

This commit is contained in:
vaxerski 2022-05-11 15:03:31 +02:00
parent 96819c8ab9
commit 07e208aa73

View file

@ -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);
}