wzrd

An ICCCM & EWMH compliant X11 reparenting, dynamic window manager, written in Rust
git clone git://git.deurzen.net/wzrd
Log | Files | Refs | LICENSE

commit 2d738c1955333bab37f8fc717ee2711b211ca600
parent 63d29882035c00b5bcdf0dd76c54994b65332654
Author: deurzen <m.deurzen@tum.de>
Date:   Wed, 17 Mar 2021 13:46:00 +0100

fixes single layout free and fullscreen handling

Diffstat:
Msrc/core/zone.rs | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/core/zone.rs b/src/core/zone.rs @@ -1217,13 +1217,12 @@ impl ZoneManager { fn arrange_subzones( &mut self, - zone: ZoneId, + id: ZoneId, region: Region, decoration: Decoration, method: PlacementMethod, to_ignore: &Vec<ZoneId>, ) -> Vec<Placement> { - let id = zone; let zone = self.zone_map.get(&id).unwrap(); let content = &zone.content; @@ -1314,7 +1313,7 @@ impl ZoneManager { let zones: Vec<ZoneId> = zones .iter() - .filter(|&id| !to_ignore.contains(id)) + .filter(|&id| layout.config().single || !to_ignore.contains(id)) .map(|&id| id) .collect();