Send relative_pointer in frame with pointer; update Smithay

The protocol doesn't specify this, but XWayland does assume relative
pointer events are part of a frame.

This works for now, though a better solution will be needed in Smithay
to also handle pointer constraints where a relative motion may occur
alone, etc.

This seems to fix https://github.com/pop-os/cosmic-comp/issues/159.
This commit is contained in:
Ian Douglas Scott 2023-09-08 11:10:53 -07:00
parent f6ea7fa81d
commit 6247918cad
3 changed files with 14 additions and 12 deletions

View file

@ -87,4 +87,4 @@ debug = true
lto = "fat"
[patch."https://github.com/Smithay/smithay.git"]
smithay = { git = "https://github.com/smithay//smithay", rev = "36a0ec69b1" }
smithay = { git = "https://github.com/smithay//smithay", rev = "1a61e1c13a" }