diff options
Diffstat (limited to 'clients/window.c')
-rw-r--r-- | clients/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/window.c b/clients/window.c index 4c94d16..bab5d76 100644 --- a/clients/window.c +++ b/clients/window.c @@ -618,7 +618,7 @@ display_create_surface(struct display *display, if (check_size(rectangle) < 0) return NULL; #ifdef HAVE_CAIRO_EGL - if (display->dpy) + if (display->dpy && !(flags & SURFACE_SHM)) return display_create_egl_window_surface(display, surface, flags, |