]> git.proxmox.com Git - mirror_qemu.git/blobdiff - vl.c
console: fix displaychangelisteners interface
[mirror_qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index a621aec0a42114236b09819072dd41dbc286eeb5..ce51e653682bc87390a074a6ddbd686864ff1da4 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -1639,13 +1639,13 @@ void gui_setup_refresh(DisplayState *ds)
     bool have_text = false;
 
     QLIST_FOREACH(dcl, &ds->listeners, next) {
-        if (dcl->dpy_refresh != NULL) {
+        if (dcl->ops->dpy_refresh != NULL) {
             need_timer = true;
         }
-        if (dcl->dpy_gfx_update != NULL) {
+        if (dcl->ops->dpy_gfx_update != NULL) {
             have_gfx = true;
         }
-        if (dcl->dpy_text_update != NULL) {
+        if (dcl->ops->dpy_text_update != NULL) {
             have_text = true;
         }
     }