[PATCH xserver 3/7] randr: Support "non-desktop" property
Michel Dänzer
michel at daenzer.net
Wed Feb 28 15:35:07 UTC 2018
On 2018-02-12 10:51 PM, Keith Packard wrote:
> Tracks changes to the non-desktop property so that when non-zero,
> outputs will always appear to be disconnected.
>
> Signed-off-by: Keith Packard <keithp at keithp.com>
> Reviewed-by: Adam Jackson <ajax at nwnk.net>
[...]
> @@ -442,6 +465,7 @@ ProcRRGetOutputInfo(ClientPtr client)
> .crtc = output->crtc ? output->crtc->id : None,
> .mmWidth = output->mmWidth,
> .mmHeight = output->mmHeight,
> + .connection = output->nonDesktop ? RR_Disconnected : output->connection,
> .connection = output->connection,
BTW, I don't think this was intended to leave the existing connection
initializer line, clobbering the new one?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the xorg-devel
mailing list