diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-28 15:30:07 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-11-01 13:10:06 +0100 |
commit | e250d949feb1334828f27f0d145c35f29c4b7639 (patch) | |
tree | 1062e88de177bf2a018a3bd5d519f7decd17a773 /console.h | |
parent | a93a4a226a2afba147ba5df688b85d844f537c68 (diff) | |
download | hqemu-e250d949feb1334828f27f0d145c35f29c4b7639.zip hqemu-e250d949feb1334828f27f0d145c35f29c4b7639.tar.gz |
console: init displaychangelisteners on register
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |