From b5e4ab588174cccbf6691ca73d78979e0af0581b Mon Sep 17 00:00:00 2001 From: Rasmus Eneman Date: Fri, 2 Aug 2024 09:39:52 +0200 Subject: [PATCH] Only buffer is not fallback buffer --- src/layout/workspace.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/workspace.rs b/src/layout/workspace.rs index 9ac0bcb..cfc7614 100644 --- a/src/layout/workspace.rs +++ b/src/layout/workspace.rs @@ -2572,13 +2572,13 @@ impl Workspace { if let Some(mut area) = self.insert_hint_area(insert_hint) { area.loc.x -= self.view_pos(); - let fallback_buffer = SolidColorBuffer::new( + let buffer = SolidColorBuffer::new( area.size, self.options.insert_hint.color.to_array_premul(), ); rv.push( TileRenderElement::SolidColor(SolidColorRenderElement::from_buffer( - &fallback_buffer, + &buffer, area.loc, 1., Kind::Unspecified,