diff --git a/examples/wgpu.rs b/examples/wgpu.rs index ee22ee964..a583f6c64 100644 --- a/examples/wgpu.rs +++ b/examples/wgpu.rs @@ -153,6 +153,26 @@ impl CompositorHandler for Wgpu { _time: u32, ) { } + + fn surface_enter( + &mut self, + _conn: &Connection, + _qh: &QueueHandle, + _surface: &wl_surface::WlSurface, + _output: &wl_output::WlOutput, + ) { + // Not needed for this example. + } + + fn surface_leave( + &mut self, + _conn: &Connection, + _qh: &QueueHandle, + _surface: &wl_surface::WlSurface, + _output: &wl_output::WlOutput, + ) { + // Not needed for this example. + } } impl OutputHandler for Wgpu {