diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-24 15:59:35 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-24 15:59:35 +0100 |
commit | 8076029c5ca81dee348126cd7fe199b248b7809b (patch) | |
tree | 13c0f76a8100980c37397d29d4725cecc6d3ab83 /randr/rrcrtc.c | |
parent | 7d416f031b61d6d6be376ba45018b135505980a7 (diff) | |
parent | 2a0c6c15c35cd262e7cdb86dcc43cb1aeb714c8e (diff) |
Merge tag 'xorg-server-1.20.2' into cygwin-release-1.20xserver-cygwin-1.20.2-1
xorg-server-1.20.2
Diffstat (limited to 'randr/rrcrtc.c')
-rw-r--r-- | randr/rrcrtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index 5d9026266..a851aebcc 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -702,8 +702,8 @@ rrCheckPixmapBounding(ScreenPtr pScreen, if (new_height < screen_pixmap->drawable.height) new_height = screen_pixmap->drawable.height; - if (new_width == screen_pixmap->drawable.width && - new_height == screen_pixmap->drawable.height) { + if (new_width <= screen_pixmap->drawable.width && + new_height <= screen_pixmap->drawable.height) { } else { pScrPriv->rrScreenSetSize(pScreen, new_width, new_height, 0, 0); } |