New window replaces the current fullscreen or maximized window (#2821)

* New window replaces the current fullscreen or maximized window

Currently if we are in fullscreen or full-width mode and either

start a new application OR
create a new window of an existing application. Like an incognito window
Then those new windows/apps start in the background. There is no indication that something new has been created.

IMHO, if I am opening an application then I want to switch to it. I cannot think of any common use case for having new applications open in the background.

This change will cause new application to replace current application as the fullscreen / fullwidth window

Please see docs: https://wiki.hypr.land/Configuring/Variables/#misc

Option:
new_window_takes_over_fullscreen

Desc:
if there is a fullscreen or maximized window, decide whether a new tiled window opened should replace it, stay behind or disable the fullscreen/maximized state. 0 - behind, 1 - takes over, 2 - unfullscreen/unmaxize [0/1/2]

Type:
int

Default:
0

* fix the setting name
This commit is contained in:
Nikhil Jain
2025-10-25 01:25:14 +05:30
committed by GitHub
parent 37518c222c
commit 9a90afb6e8

View File

@@ -120,6 +120,7 @@ misc {
disable_splash_rendering = true
focus_on_activate = true
anr_missed_pings = 3
new_window_takes_over_fullscreen = 1
}
# https://wiki.hypr.land/Configuring/Variables/#cursor