diff options
author | Keith Packard <keithp@keithp.com> | 2017-10-12 21:23:16 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-10-12 21:23:16 -0700 |
commit | f553081557572a55fbf343b3f3216cab2378399e (patch) | |
tree | ff0a269fb6d5c3bf393377961a4a4e13d1afc34e | |
parent | db6c90dd6833b6b1de0c367895a62b7c38a28736 (diff) |
randr: Don't check leased crtcs when selecting screen size
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | randr/rrscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |