projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a93a4a2
)
console: init displaychangelisteners on register
author
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 28 Sep 2012 13:30:07 +0000
(15:30 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 1 Nov 2012 12:10:06 +0000
(13:10 +0100)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
console.h
patch
|
blob
|
history
vl.c
patch
|
blob
|
history
diff --git
a/console.h
b/console.h
index 00e2f03424d8183661dbe540c1d9be6daaacf892..7e0ac760e32997d9aea3292ed85a05e16cbf5128 100644
(file)
--- a/
console.h
+++ b/
console.h
@@
-241,6
+241,9
@@
static inline void register_displaychangelistener(DisplayState *ds, DisplayChang
{
QLIST_INSERT_HEAD(&ds->listeners, dcl, next);
gui_setup_refresh(ds);
+ if (dcl->dpy_gfx_resize) {
+ dcl->dpy_gfx_resize(ds);
+ }
}
static inline void unregister_displaychangelistener(DisplayState *ds,
diff --git
a/vl.c
b/vl.c
index 8716fc0a6c88d9358036ae241b1bd8042725924e..df776e91ad4cd01a02347c81cde05dfa312d1767 100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-3876,7
+3876,6
@@
int main(int argc, char **argv, char **envp)
#endif
/* display setup */
- dpy_gfx_resize(ds);
text_consoles_set_display(ds);
if (foreach_device_config(DEV_GDB, gdbserver_start) < 0) {