qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4903] Force screen resize if no buffer set (Avi Kivity).
@ 2008-07-19 14:09 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-07-19 14:09 UTC (permalink / raw)
  To: qemu-devel

Revision: 4903
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4903
Author:   balrog
Date:     2008-07-19 14:09:20 +0000 (Sat, 19 Jul 2008)

Log Message:
-----------
Force screen resize if no buffer set (Avi Kivity).

This is a hack to get screen_dump to work, we should start using a global
screen_dump method.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Modified Paths:
--------------
    trunk/console.c

Modified: trunk/console.c
===================================================================
--- trunk/console.c	2008-07-19 13:25:28 UTC (rev 4902)
+++ trunk/console.c	2008-07-19 14:09:20 UTC (rev 4903)
@@ -1334,7 +1334,8 @@
 
 void qemu_console_resize(QEMUConsole *console, int width, int height)
 {
-    if (console->g_width != width || console->g_height != height) {
+    if (console->g_width != width || console->g_height != height
+        || !console->ds->data) {
         console->g_width = width;
         console->g_height = height;
         if (active_console == console) {

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

only message in thread, other threads:[~2008-07-19 14:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19 14:09 [Qemu-devel] [4903] Force screen resize if no buffer set (Avi Kivity) Andrzej Zaborowski

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).