From e420bb5ad7cef528edff58fc76ff878c4e4310ac Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 13 Oct 2025 13:23:29 +0300 Subject: layout/tile: Fade out border for fullscreen --- src/layout/tile.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/layout/tile.rs b/src/layout/tile.rs index 8e18445c..1e6f1a21 100644 --- a/src/layout/tile.rs +++ b/src/layout/tile.rs @@ -410,8 +410,7 @@ impl Tile { let draw_border_with_background = rules .draw_border_with_background - .unwrap_or_else(|| !self.window.has_ssd()) - && fullscreen_progress < 1.; + .unwrap_or_else(|| !self.window.has_ssd()); let border_width = self.visual_border_width().unwrap_or(0.); // Do the inverse of tile_size() in order to handle the unfullscreen animation for windows @@ -438,7 +437,7 @@ impl Tile { ), radius, self.scale, - 1., + 1. - fullscreen_progress as f32, ); let radius = if self.visual_border_width().is_some() { -- cgit