[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [4903] Force screen resize if no buffer set (Avi Kivity).
From: |
Andrzej Zaborowski |
Subject: |
[Qemu-devel] [4903] Force screen resize if no buffer set (Avi Kivity). |
Date: |
Sat, 19 Jul 2008 14:09:21 +0000 |
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 <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
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) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [4903] Force screen resize if no buffer set (Avi Kivity).,
Andrzej Zaborowski <=