summary refs log tree commit diff stats
path: root/ui/egl-headless.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/egl-headless.c')
-rw-r--r--ui/egl-headless.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/egl-headless.c b/ui/egl-headless.c
index 9aff115280..7a30fd9777 100644
--- a/ui/egl-headless.c
+++ b/ui/egl-headless.c
@@ -170,6 +170,14 @@ static bool
 egl_is_compatible_dcl(DisplayGLCtx *dgc,
                       DisplayChangeListener *dcl)
 {
+    if (!dcl->ops->dpy_gl_update) {
+        /*
+         * egl-headless is compatible with all 2d listeners, as it blits the GL
+         * updates on the 2d console surface.
+         */
+        return true;
+    }
+
     return dcl->ops == &egl_ops;
 }