mirror of
https://github.com/YaLTeR/niri.git
synced 2024-11-09 07:01:24 +03:00
Only buffer is not fallback buffer
This commit is contained in:
parent
ba743171f5
commit
b5e4ab5881
@ -2572,13 +2572,13 @@ impl<W: LayoutElement> Workspace<W> {
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user