[PATCH] xfree86/modes: Add "NoOutputInitialSize" option

Keith Packard keithp at keithp.com
Tue Mar 5 04:57:06 UTC 2019


Andy Ritger via xorg-devel <xorg-devel at lists.x.org> writes:

> Normally, the X server infers the initial screen size based on any
> connected outputs.  However, if no outputs are connected, the X server
> picks a default screen size of 1024 x 768.  This option overrides the
> default screen size to use when no outputs are connected.  In contrast
> to the "Virtual" Display SubSection entry, which applies unconditionally,
> "NoOutputInitialSize" is only used if no outputs are detected when the
> X server starts.
>
> Parse this option in the new exported helper function
> xf86AssignNoOutputInitialSize(), so that other XFree86 loadable drivers
> can use it, even if they don't use xf86InitialConfiguration().
>
> Signed-off-by: Andy Ritger <aritger at nvidia.com>

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20190304/649787a5/attachment.sig>


More information about the xorg-devel mailing list