mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:05:59 +01:00
parent
230356012b
commit
322c5cc4b9
2 changed files with 3 additions and 1 deletions
|
@ -471,6 +471,8 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
||||||
if (PWORKSPACE->m_bHasFullscreenWindow && !requestsFullscreen) {
|
if (PWORKSPACE->m_bHasFullscreenWindow && !requestsFullscreen) {
|
||||||
if (*PNEWTAKESOVERFS == 0)
|
if (*PNEWTAKESOVERFS == 0)
|
||||||
PWINDOW->m_bNoInitialFocus = true;
|
PWINDOW->m_bNoInitialFocus = true;
|
||||||
|
else if (*PNEWTAKESOVERFS == 2)
|
||||||
|
g_pCompositor->setWindowFullscreen(g_pCompositor->getFullscreenWindowOnWorkspace(PWORKSPACE->m_iID), false, FULLSCREEN_INVALID);
|
||||||
else
|
else
|
||||||
requestsFullscreen = true;
|
requestsFullscreen = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 5ef42e8e8adece098848fac53c721b6eb3818fc2
|
Subproject commit c2aa7fd965cb7ee8bed24f4122b720aca8f0fc1e
|
Loading…
Reference in a new issue