qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4750] Fix crash when returning from monitor or serial console to normal TCX view
@ 2008-06-19 15:56 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-06-19 15:56 UTC (permalink / raw)
  To: qemu-devel

Revision: 4750
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4750
Author:   blueswir1
Date:     2008-06-19 15:56:22 +0000 (Thu, 19 Jun 2008)

Log Message:
-----------
Fix crash when returning from monitor or serial console to normal TCX view

Modified Paths:
--------------
    trunk/hw/tcx.c

Modified: trunk/hw/tcx.c
===================================================================
--- trunk/hw/tcx.c	2008-06-18 22:10:21 UTC (rev 4749)
+++ trunk/hw/tcx.c	2008-06-19 15:56:22 UTC (rev 4750)
@@ -186,6 +186,8 @@
 
     if (ts->ds->depth == 0)
         return;
+    if (ts->ds->width != ts->width || ts->ds->height != ts->height)
+        dpy_resize(ts->ds, ts->width, ts->height);
     page = ts->vram_offset;
     y_start = -1;
     page_min = 0xffffffff;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-19 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-19 15:56 [Qemu-devel] [4750] Fix crash when returning from monitor or serial console to normal TCX view Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).