diff --git a/wayland-client/examples/simple_window.rs b/wayland-client/examples/simple_window.rs index 8c09f03e398..2498fba2d27 100644 --- a/wayland-client/examples/simple_window.rs +++ b/wayland-client/examples/simple_window.rs @@ -111,8 +111,8 @@ impl Dispatch for State { // Ignore events from these object types in this example. delegate_noop!(State: wl_compositor::WlCompositor); -delegate_noop!(State: wl_surface::WlSurface); -delegate_noop!(State: wl_shm::WlShm); +delegate_noop!(State: ignore wl_surface::WlSurface); +delegate_noop!(State: ignore wl_shm::WlShm); delegate_noop!(State: wl_shm_pool::WlShmPool); delegate_noop!(State: wl_buffer::WlBuffer);