https://bugs.kde.org/show_bug.cgi?id=510591

--- Comment #9 from Maxim Kartashev <[email protected]> ---
OK, here's a reproducer:

1. Download a Java SDK (JBRSDK) from here:
https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.8b1163.59
Here's a direct link to the linux-x64 version:
https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-21.0.8-linux-x86-b1163.59.tar.gz

2. Unpack
tar xzvf jbrsdk-21.0.8-linux-x64-b1163.59.tar.gz
cd jbrsdk-21.0.8-linux-x64-b1163.59

3. Download the attached Java program as AWT.java file, copy it to the
jbrsdk-21.0.8-linux-x64-b1163.59 directory

4. Run
WAYLAND_DEBUG=1 ./bin/java -Dawt.toolkit.name=WLToolkit AWT.java 2>log
and move the mouse pointer over the window that has appeared a bit.

5. Grep the log file for relative pointer movement events

> ag relative_pointer log
Here's what I get on Ubuntu 22.04 with Mutter, for example:
32:[1304284.676] [email protected](18, "zwp_relative_pointer_manager_v1", 1)
33:[1304284.723]  -> [email protected](18, "zwp_relative_pointer_manager_v1",
1, new id [unknown]@17)
56:[1304285.742]  ->
[email protected]_relative_pointer(new id
zwp_relative_pointer_v1@7, wl_pointer@12)
153:[1305005.497] [email protected]_motion(39, 3689095613,
-16.41015625, -21.88281250, -9.00000000, -12.00000000)
156:[1305005.869] [email protected]_motion(39, 3689103418,
-18.23437500, -21.88281250, -10.00000000, -12.00000000)
...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to