This bug is a duplicate of bug 1589970. That bug has a patch which attempts pretty much the same solution, but had to be discarded because it breaks non-fractional-scaling mode. Whether the monitor units are in device pixels or "logical" pixels depends on mutter's `scale-monitor-framebuffer` setting. So the monitor sizes are no use at all. > Attempting to use workarea at all is an exercise in futility. See the discussion in https://gitlab.gnome.org/GNOME/mutter/merge_requests/510 This patch should be backed out.
Bug 1672591 Comment 17 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This bug is a duplicate of bug 1589970. That bug has a patch which attempts pretty much the same solution, but had to be discarded because it breaks non-fractional-scaling mode. Whether the monitor units are in device pixels or "logical" pixels depends on mutter's `scale-monitor-framebuffer` setting. So the monitor sizes are no use at all. > See the discussion in https://gitlab.gnome.org/GNOME/mutter/merge_requests/510: GdkMonitor cannot be used to size windows on Wayland because you can't know what the units are, even if you knew which monitor your surface is going to be placed on. > Attempting to use workarea at all is an exercise in futility. This patch should be backed out.