[PATCH] xf86-video-modesetting cursor reload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enable after a resolution change reload the cursor image.

Signed-off-by: James Simmons <jsimmons@xxxxxxxxxxxxx>

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 7fa933a..8a49103 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -361,11 +361,9 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
 		}
 	}
 
-#if 0
-	if (pScrn->pScreen &&
-		!xf86ReturnOptValBool(info->Options, OPTION_SW_CURSOR, FALSE))
+	if (pScrn->pScreen && !drmmode->sw_cursor)
 		xf86_reload_cursors(pScrn->pScreen);
-#endif
+
 done:
 	if (!ret) {
 		crtc->x = saved_x;
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux