summaryrefslogtreecommitdiffstats
path: root/curses.c
diff options
context:
space:
mode:
authorbalrog2008-09-24 05:32:33 +0200
committerbalrog2008-09-24 05:32:33 +0200
commitc21bbcfa3ff4f6dc49fb01080ef598851aa424dd (patch)
tree59698825cba06921d0ac57d67e12614c4519fea9 /curses.c
parentDon't use ds->dpy_copy directly from hw/ (Jan Niehusmann). (diff)
downloadqemu-c21bbcfa3ff4f6dc49fb01080ef598851aa424dd.tar.gz
qemu-c21bbcfa3ff4f6dc49fb01080ef598851aa424dd.tar.xz
qemu-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 96b6e49332..7c82377eff 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 {