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
|
|
@ -51,9 +51,11 @@ impl DmabufHandler for State {
|
|||
let is_fullscreen = shell
|
||||
.workspaces
|
||||
.space_for_handle(&handle)?
|
||||
.fullscreen
|
||||
.as_ref()
|
||||
.is_some_and(|f| f.surface.has_surface(surface, WindowSurfaceType::all()));
|
||||
.fullscreen_surfaces
|
||||
.iter()
|
||||
.any(|f| {
|
||||
f.ended_at.is_none() && f.surface.has_surface(surface, WindowSurfaceType::all())
|
||||
});
|
||||
|
||||
let node = kms
|
||||
.drm_devices
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue