From 9571d149b2cecd3df8ba3f90f0af296e9f69af6e Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 25 Apr 2025 08:53:16 +0300 Subject: Render workspaces separately with gaps between This design makes more sense spatially, and is required for the Overview. Gaps also make it clear how clipping windows to workspace bounds works. Background and bottom layer-shell surfaces get duplicated for each workspace, while top and overlay stay "on top". --- src/layout/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/mod.rs') diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 040a5cb4..cdb96113 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -2279,7 +2279,7 @@ impl Layout { ) -> Option<(&W, HitType)> { if let Some(InteractiveMoveState::Moving(move_)) = &self.interactive_move { if move_.output == *output { - let tile_pos = move_.tile_render_location(1.); + let tile_pos = move_.tile_render_location(); HitType::hit_tile(&move_.tile, tile_pos, pos_within_output) } else { None -- cgit