diff options
-rw-r--r-- | hw/xfree86/drivers/modesetting/drmmode_display.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c index 6942126c0..505960737 100644 --- a/hw/xfree86/drivers/modesetting/drmmode_display.c +++ b/hw/xfree86/drivers/modesetting/drmmode_display.c @@ -4377,6 +4377,9 @@ static void drmmode_probe_cursor_size(xf86CrtcPtr crtc) drmmode_ptr drmmode = drmmode_crtc->drmmode; int width, height, size; + ms->min_cursor_width = ms->max_cursor_width; + ms->min_cursor_height = ms->max_cursor_height; + /* probe square min first */ for (size = 1; size <= ms->max_cursor_width && size <= ms->max_cursor_height; size *= 2) { |