summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-24 03:32:33 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-24 03:32:33 +0000
commitc21bbcfa3ff4f6dc49fb01080ef598851aa424dd (patch)
tree59698825cba06921d0ac57d67e12614c4519fea9 /curses.c
parentDon't use ds->dpy_copy directly from hw/ (Jan Niehusmann). (diff)
downloadqemu-kvm-c21bbcfa3ff4f6dc49fb01080ef598851aa424dd.tar.gz
qemu-kvm-c21bbcfa3ff4f6dc49fb01080ef598851aa424dd.tar.bz2
qemu-kvm-c21bbcfa3ff4f6dc49fb01080ef598851aa424dd.zip
Reintroduce TEXT_CONSOLE_FIXED_SIZE and TEXT_CONSOLE for resizable vc's.
This partially reverts r4812 to fix an issue highlighted by Ryan Harper with all vc's being fixed size which prevented backends with resizable window (curses) from displaying okay. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5309 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'curses.c')
-rw-r--r--curses.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/curses.c b/curses.c
index 96b6e4933..7c82377ef 100644
--- a/curses.c
+++ b/curses.c
@@ -60,7 +60,7 @@ static void curses_update(DisplayState *ds, int x, int y, int w, int h)
static void curses_calc_pad(void)
{
- if (is_graphic_console()) {
+ if (is_fixedsize_console()) {
width = gwidth;
height = gheight;
} else {