Skip to content

master.mint27

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Nov 12:56
Revert "x11: Scale relative pointer motion by the UI scaling factor."

This reverts commit e35820a82ed5d16ea24124d72cfd72a81a8fea89.

This was an effort to run pointer motion according to logical sizes,
to match wayland sessions. Unfortunately legacy x11 tools/api don't
and won't ever understand this.

XWarpPointer applies the coordinate transformation matrix of the last
used device to the stored position. The next relative motion from that
device then jumps to twice the warp target. This breaks anything that
warps the pointer (Deskflow/Barrier, games, XTest clients), and the
X server can't scale relative motion without also scaling warps.

Fixes #888