https://bugzilla.gnome.org/show_bug.cgi?id=771841

Jonas Ådahl <jad...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #336140|0                           |1
        is obsolete|                            |

--- Comment #33 from Jonas Ådahl <jad...@gmail.com> ---
Created attachment 337556
  --> https://bugzilla.gnome.org/attachment.cgi?id=337556&action=edit
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.

-----

Rewrote the first patch to scale the coordinates as a more sane place. Also
added a comment documenting the coordinate space of the stored placement rule
fields.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to