Sudden mouse pointer shift with nested weston x11 backend in GNOME xwayland
Versions:
- Arch Linux
- Weston 11.0.1-1
- Xorg-xwayland 23.1.1-1
- gnome-shell 43.4-1
- mutter 43.4-1
Description:
When using nested weston with x11-backend.so in GNOME Wayland session, mouse pointer inside weston shift unexpectedly from time to time. I'm not quite sure whether it is a bug of weston, xwayland or GNOME. The wayland-backend.so does not have this issue.
I know that it is very weird to use x11-backend weston in a wayland session, and I found this issue when using nested X server with weston in x11docker -- I guess I should submit a bug report (let user decide whether to start weston in X or Wayland) to them afterwards.
How to reproduce:
- In a wayland session (I only tested in GNOME)
weston --backend=x11-backend.so
- Start terminal inside weston
- Drag the terminal window for several rounds, and move mouse to any corner of weston window
- And then your mouse pointer is moved to an unexpected location
Video: