mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 01:48:55 +00:00
Jonas Ådahl
68645df3a3
wayland/xdg-shell: Scale positioner coordinates
When the monitor is scaled (i.e. HiDPI scaling) the placement coordinates ere still in unscaled xdg_surface window geometry coordinate space when used to place the window. Fix this by scaling the coordinates by the monitor scale of the parent toplevel window before using them. https://bugzilla.gnome.org/show_bug.cgi?id=771841
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%