aboutsummaryrefslogtreecommitdiff
path: root/niri-visual-tests/src
diff options
context:
space:
mode:
Diffstat (limited to 'niri-visual-tests/src')
-rw-r--r--niri-visual-tests/src/test_window.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/niri-visual-tests/src/test_window.rs b/niri-visual-tests/src/test_window.rs
index 158f8b4b..56d3c3fd 100644
--- a/niri-visual-tests/src/test_window.rs
+++ b/niri-visual-tests/src/test_window.rs
@@ -6,6 +6,7 @@ use niri::layout::{
ConfigureIntent, InteractiveResizeData, LayoutElement, LayoutElementRenderElement,
LayoutElementRenderSnapshot,
};
+use niri::render_helpers::offscreen::OffscreenData;
use niri::render_helpers::renderer::NiriRenderer;
use niri::render_helpers::solid_color::{SolidColorBuffer, SolidColorRenderElement};
use niri::render_helpers::{RenderTarget, SplitElements};
@@ -214,7 +215,7 @@ impl LayoutElement for TestWindow {
fn output_leave(&self, _output: &Output) {}
- fn set_offscreen_element_id(&self, _id: Option<Id>) {}
+ fn set_offscreen_data(&self, _data: Option<OffscreenData>) {}
fn set_activated(&mut self, _active: bool) {}