]> Git Repo - qemu.git/commitdiff
qxl: better vga init in enter_vga_mode
authorGerd Hoffmann <[email protected]>
Thu, 28 Feb 2013 10:08:50 +0000 (11:08 +0100)
committerGerd Hoffmann <[email protected]>
Mon, 18 Mar 2013 09:21:58 +0000 (10:21 +0100)
Ask the vga core to update the display.  Will trigger dpy_gfx_resize
if needed.  More complete than just calling dpy_gfx_resize.

Signed-off-by: Gerd Hoffmann <[email protected]>
hw/qxl.c

index 54a8d91b890ffc831387ca5e6c71c5f9704483cd..5d830f0e0923047c00337e4779f19946b8c493ed 100644 (file)
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -1073,8 +1073,8 @@ static void qxl_enter_vga_mode(PCIQXLDevice *d)
     trace_qxl_enter_vga_mode(d->id);
     qemu_spice_create_host_primary(&d->ssd);
     d->mode = QXL_MODE_VGA;
-    dpy_gfx_resize(d->ssd.ds);
     vga_dirty_log_start(&d->vga);
+    vga_hw_update();
 }
 
 static void qxl_exit_vga_mode(PCIQXLDevice *d)
This page took 0.030266 seconds and 4 git commands to generate.