Skip to content
Snippets Groups Projects
Commit e01eee3d authored by Olivier Fourdan's avatar Olivier Fourdan :tools:
Browse files

xwayland: Use desktop coordinates for pointer events


The Wayland compositor sends pointer coordinates in desktop space, which
can be negative if one output is placed at negative coordinates.

Yet Xwayland would treat those as screen coordinates, which cannot be
negative because relative to the origin.

Queue pointer events from the Wayland compositor as POINTER_DESKTOP
instead of POINTER_SCREEN.

Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
parent 1d8f9478
No related branches found
No related tags found
1 merge request!395WIP: xwayland: Compute and set screen size and position
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment