Mutter/Wayland update broke stylus rotation
Arch Linux with mutter 3.36 and wayland
The recent update to gnome 3.36 and mutter on wayland broke the mapping of screen rotation to stylus position.
Basically, the stylus works correctly if the screen is in upright position. But when rotated by 180°, it is "mirrored" to the wrong side, and wrongly mapped in the same way in 90° and 270° rotations as if the stylus input isn't aware of the screen rotation.
The rotation worked fine in wayland/gnome 3.34, and works under X.org.
Additionally, the on-screen keyboard that appears also behaves weirdly in rotations, being unusably small in the vertical positions.
OS: Arch with recent updates Device: Dell XPS 7390 2-in-1 with Dell/Wacom stylus
Steps to reproduce
1.) Activate stylus and place on screen in regular position, the cursor appears under the stylus pointer.
2.) Rotate screen and place the stylus over the screen again.
The stylus appears offset to the other edge of the screen, as if there were no rotation. The cursor is misplaced.
What did you expect to happen
The stylus rotation should apply, i.e. the stylus cursor should be under the pointer.
Relevant logs, screenshots, screencasts etc.
IF a video is required, I can make one.