From 3377e5e4f27fb5954ce2c14388beb08681fd1d40 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Thu, 17 Aug 2017 00:52:01 +0200 Subject: wayland backend: fix xdg-shell for gnome Calling wl_surface_commit after setting up the xdg_toplevel is apparently good enough for them. Still missing something for weston. --- backend/wayland/output.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend') diff --git a/backend/wayland/output.c b/backend/wayland/output.c index d956122f..5dfca82e 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -255,6 +255,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) { &xdg_surface_listener, output); zxdg_toplevel_v6_add_listener(output->xdg_toplevel, &xdg_toplevel_listener, output); + wl_surface_commit(output->surface); output->egl_window = wl_egl_window_create(output->surface, wlr_output->width, wlr_output->height); -- cgit v1.2.3