mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-08 12:38:18 +02:00
unminimize on activate
This commit is contained in:
parent
85290b5c97
commit
17da21d806
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue