feat: support multiple fullscreen windows per workspace
This commit is contained in:
parent
9f28a764a7
commit
28ef6bdbc8
12 changed files with 381 additions and 308 deletions
|
|
@ -42,7 +42,7 @@ impl ToplevelManagementHandler for State {
|
|||
.spaces_for_output(output)
|
||||
.enumerate()
|
||||
.find(|(_, w)| {
|
||||
w.get_fullscreen().is_some_and(|f| f == window)
|
||||
w.get_fullscreen_surfaces().any(|f| &f.surface == window)
|
||||
|| w.mapped()
|
||||
.flat_map(|m| m.windows().map(|(s, _)| s))
|
||||
.any(|w| &w == window)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue