[Wayland-bugs] [Bug 93315] Automatically scale windows?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 10 08:52:24 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93315

--- Comment #9 from Daniel Stone <daniel at fooishbar.org> ---
(In reply to Alexander Larsson from comment #8)
> Could we run two xwayland instances? first display is lodpi, and second is
> hidpi? Then we have some magic desktop file thing to tell the shell to
> launch hidpi apps on display 2?

Not without some pretty radical surgery, no. Mutter would need a huge rework to
be a WM across multiple X servers at the same time, as would the XWayland
integration (e.g. to cope with XIDs no longer being unique).

There's also an additional complication that GTK+2 is HiDPI but not mixed-DPI
aware; it seems to just pick a scaling factor from the overall logical display
dimensions, so will always scale up to HiDPI, even if it's currently positioned
on a low-DPI display. (The silver lining in that cloud is that GTK+2 or Chrome,
whichever, don't actually listen to updates on the scaling-factor GSetting, so
you can hack around it by changing the GSetting, launching, then changing it
back ...)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151210/a509a94d/attachment.html>


More information about the wayland-bugs mailing list