diff options
| -rw-r--r-- | river/View.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/river/View.zig b/river/View.zig index c8ce288..2e312f7 100644 --- a/river/View.zig +++ b/river/View.zig @@ -171,7 +171,8 @@ pub fn applyPending(self: *Self) void { arrange_output = true; // If switching from float to something else save the dimensions - if (self.current.float and !self.pending.float) + if ((self.current.float and !self.pending.float) or + (self.current.float and !self.current.fullscreen and self.pending.fullscreen)) self.float_box = self.current.box; // If switching from something else to float restore the dimensions |
