diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2022-04-26 15:28:50 +0200 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2022-06-30 17:52:22 +0200 |
commit | b0cee5e7033787e0720af1f128a33e967231b323 (patch) | |
tree | 9b3ca6f29345533a609f9ef740b33b02242c99e7 /hw/xwayland/man | |
parent | 5cc0319ca5d997324566015194c8de4d36c95264 (diff) | |
download | xserver-b0cee5e7033787e0720af1f128a33e967231b323.tar.gz |
xwayland: add a fixed geometry size for rootful
When running rootless as well as rootful, Xwayland gets its outputs
configuration from the Wayland compositor.
When running rootful, it means that we end up with a large black
surface the size of all monitors combined, that's not very convenient
and there is no way for set the desired size of the Xwayland window.
Add a new command line option "-geometry" to force a specific mode when
running rootful for the user to specify the root window size to use for
Xwayland.
That option has no effect when Xwayland is running rootless.
v2: Not using libxcvt as the mode may not be a valid CVT mode.
v3: Add a set of XRandR modes and the RR hooks to make that work.
Update the man page for Xwayland.
v4: Add RandR 1.0 support for older clients
v5: Fix XVidMode failing with a BadMatch
v6: Add a separate xwl_output specifically for fixed mode, instead of
using the existing output list - that will allow for further
improvements like a fullscreen mode eventually.
v7: Sort the RR modes
v8: Fix RandR 1.0
v9: Add physical size
v10: Cleanup
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1338
Diffstat (limited to 'hw/xwayland/man')
-rw-r--r-- | hw/xwayland/man/Xwayland.man | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xwayland/man/Xwayland.man b/hw/xwayland/man/Xwayland.man index 2ceec9432..b9202160c 100644 --- a/hw/xwayland/man/Xwayland.man +++ b/hw/xwayland/man/Xwayland.man @@ -53,6 +53,11 @@ backend first, then fallback to the GBM backend if EGLStream is not supported by the Wayland server. Without this option, \fIXwayland\fP tries the GBM backend first, and fallback to EGLStream if GBM is not usable. .TP 8 +.B \-geometry \fIWxH\fP +Sets the geometry of the \fIXwayland\fP window to \fIWxH\fP when running rootful. + +This option is not compatible with rootless mode (\fI-rootless\fP). +.TP 8 .B \-initfd \fIfd\fP Add the given \fIfd\fP as a listen socket for initialization of X clients. This options is aimed at \fIWayland\fP servers which run \fIXwayland\fP |