From f553081557572a55fbf343b3f3216cab2378399e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 12 Oct 2017 21:23:16 -0700 Subject: randr: Don't check leased crtcs when selecting screen size Signed-off-by: Keith Packard --- randr/rrscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/randr/rrscreen.c b/randr/rrscreen.c index d6c499580..1bd4382dc 100644 --- a/randr/rrscreen.c +++ b/randr/rrscreen.c @@ -267,7 +267,7 @@ ProcRRSetScreenSize(ClientPtr client) RRCrtcPtr crtc = pScrPriv->crtcs[i]; RRModePtr mode = crtc->mode; - if (mode) { + if (!RRCrtcIsLeased(crtc) && mode) { int source_width = mode->mode.width; int source_height = mode->mode.height; Rotation rotation = crtc->rotation; -- cgit v1.2.3