[Wayland-bugs] [Bug 101193] XWayland does not support scaling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 15 07:35:50 UTC 2017


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

--- Comment #6 from Jonas Ådahl <jadahl at gmail.com> ---
(In reply to Pekka Paalanen from comment #5)
> (In reply to Jonas Ådahl from comment #4)
> > What about changing modes not only for the resolution, but for selecting a
> > different framerate, or a mode with a different flag such as interlaced?
> 
> Given that we don't even have a solution for Wayland native clients, it's a
> bit hard to see how Xwayland should be mapped there.

I think it'd make sense to come up with a native Wayland client solution can
work with Xwayland too, just as with pointer locking vs pointer warping
emulation.

> 
> The first idea coming to mind would be to associate the RandR chosen mode
> with *all* Xwayland windows, perhaps with some per-output heuristics, and
> let the Wayland window manager do the same standard magic it would do with
> native Wayland windows.
> 
> That is purely because X11 has no per-window video mode thing, so Xwayland
> cannot know which window a setting should apply to.

Just as with pointer locking. We simply try to guess what window. I guess for a
video mode changing client, we could figure out what window should trigger a
fullscreen based temporary mode by matching the client setting the mode, with a
window that has the same size and position covering the whole monitor.

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


More information about the wayland-bugs mailing list