Signed-off-by: Jason Ekstrand <[email protected]>
---
clients/window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clients/window.c b/clients/window.c
index 91c1ea0..b4b9588 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -4423,7 +4423,7 @@ window_create_internal(struct display *display, int
custom)
surface = surface_create(window);
window->main_surface = surface;
- fail_on_null(display->xdg_shell);
+ assert(custom || display->xdg_shell);
window->custom = custom;
window->preferred_format = WINDOW_PREFERRED_FORMAT_NONE;
--
1.8.5.3
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel