diff --git a/hw/xfree86/drivers/video/modesetting/drmmode_display.c b/hw/xfree86/drivers/video/modesetting/drmmode_display.c index de688c6b20..e1f8e2fd4b 100644 --- a/hw/xfree86/drivers/video/modesetting/drmmode_display.c +++ b/hw/xfree86/drivers/video/modesetting/drmmode_display.c @@ -1825,9 +1825,10 @@ drmmode_set_cursor(xf86CrtcPtr crtc, int width, int height) drmmode_crtc->drmmode->sw_cursor = TRUE; } - if (ret) + if (ret) { /* fallback to swcursor */ return FALSE; + } return TRUE; }