From: Marc-André Lureau <marcandre.lureau@xxxxxxxxx> The Spice server & qemu reset the cursor state when changing resolution. Although X does restore the cursor on framebuffer changes, it doesn't for crtc config. Restoring the cursor here is the simplest way to solve the "invisible cursor" after resolution change bug with DRM driver. https://bugzilla.redhat.com/show_bug.cgi?id=1030531 --- src/qxl_drmmode.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/qxl_drmmode.c b/src/qxl_drmmode.c index af4b22d..f9eca5f 100644 --- a/src/qxl_drmmode.c +++ b/src/qxl_drmmode.c @@ -47,6 +47,9 @@ #include "qxl.h" #include "qxl_surface.h" + +static void drmmode_show_cursor (xf86CrtcPtr crtc); + static void drmmode_ConvertFromKMode(ScrnInfoPtr scrn, drmModeModeInfo *kmode, @@ -248,6 +251,10 @@ done: crtc->active = TRUE; #endif + CursorPtr cursor = xf86_config->cursor; + if (cursor) + drmmode_show_cursor(crtc); + return ret; } -- 1.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel