Skip to content

Commit

Permalink
input: ignore set_pointer serial requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Feb 7, 2024
1 parent 4f7d39d commit f88feec
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/ifs/wl_seat/wl_pointer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
Expand Down

0 comments on commit f88feec

Please sign in to comment.