xwayland doesn't handle scaling properly |
|||
Issue descriptionxwayland gets the host native resolution instead of the effective resolution, so on eve at 1200x800 we only see the upper left quadrant of the screen. Changing CrOS to "native" 1x resolution does show the full desktop, though.
,
Nov 2 2017
This looks like a bug in Xwayland. Xwayland uses the full resolution reported as mode in wl_output events but ignores the devices scale factor. https://cgit.freedesktop.org/xorg/xserver/tree/hw/xwayland/xwayland.c#n607 should probably be updated to take the value from https://cgit.freedesktop.org/xorg/xserver/tree/hw/xwayland/xwayland-output.c#n241 into account. However, it might be more useful just be able to specify the resolution and scale factor directly when starting Xwayland in non-rootless mode. Would also be nice to have it use the aura-shell protocol for chrome side decorations.
,
Nov 3 2017
Actually, using Xwayland directly is not a good idea. It only works well in rootless mode. You want to use something like: weston --backend=wayland-backend.so have have a weston.ini file with: [core] modules=xwayland.so
,
May 9 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by smbar...@chromium.org
, Nov 1 2017