From: Michel Dänzer <[email protected]>

It was already disabled, but it's definitely no longer needed now that
xf86CursorResetCursor is getting called for each CRTC configuration
change.

Signed-off-by: Michel Dänzer <[email protected]>
---

Maybe xf86_reload_cursors could be removed altogether now?

 hw/xfree86/drivers/modesetting/drmmode_display.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c 
b/hw/xfree86/drivers/modesetting/drmmode_display.c
index 0d34ca1..25f8031 100644
--- a/hw/xfree86/drivers/modesetting/drmmode_display.c
+++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
@@ -451,11 +451,6 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr 
mode,
         }
     }
 
-#if 0
-    if (pScrn->pScreen &&
-        !xf86ReturnOptValBool(info->Options, OPTION_SW_CURSOR, FALSE))
-        xf86_reload_cursors(pScrn->pScreen);
-#endif
  done:
     if (!ret) {
         crtc->x = saved_x;
-- 
2.6.2

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to