From f88feece2a6bf9ecebdd6eb60f4c5f57a3c73fad Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Wed, 7 Feb 2024 22:22:43 +0100 Subject: [PATCH] input: ignore set_pointer serial requirement --- src/ifs/wl_seat/wl_pointer.rs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/ifs/wl_seat/wl_pointer.rs b/src/ifs/wl_seat/wl_pointer.rs index 5a077326..4319b8df 100644 --- a/src/ifs/wl_seat/wl_pointer.rs +++ b/src/ifs/wl_seat/wl_pointer.rs @@ -200,14 +200,15 @@ impl WlPointer { log::warn!("ignoring wl_pointer.set_cursor (2)"); return Ok(()); } - if req.serial != self.seat.client.last_enter_serial.get() { - log::warn!( - "ignoring wl_pointer.set_cursor (3) ({} != {})", - req.serial, - self.seat.client.last_enter_serial.get(), - ); - return Ok(()); - } + // https://gitlab.freedesktop.org/wayland/wayland/-/issues/439 + // if req.serial != self.seat.client.last_enter_serial.get() { + // log::warn!( + // "ignoring wl_pointer.set_cursor (3) ({} != {})", + // req.serial, + // self.seat.client.last_enter_serial.get(), + // ); + // return Ok(()); + // } self.seat.global.set_app_cursor(cursor_opt); Ok(()) }