diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-17 00:52:01 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-17 10:24:27 +0200 |
commit | 3377e5e4f27fb5954ce2c14388beb08681fd1d40 (patch) | |
tree | 7a7ea780bec49499bdf331b157dafcd55fc31dd9 /backend | |
parent | fb05923eaab276626b49b99d7dc56c4053d34251 (diff) |
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.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/wayland/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |