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.
master
Dominique Martinet 7 years ago
parent fb05923eaa
commit 3377e5e4f2

@ -255,6 +255,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) {
&xdg_surface_listener, output); &xdg_surface_listener, output);
zxdg_toplevel_v6_add_listener(output->xdg_toplevel, zxdg_toplevel_v6_add_listener(output->xdg_toplevel,
&xdg_toplevel_listener, output); &xdg_toplevel_listener, output);
wl_surface_commit(output->surface);
output->egl_window = wl_egl_window_create(output->surface, output->egl_window = wl_egl_window_create(output->surface,
wlr_output->width, wlr_output->height); wlr_output->width, wlr_output->height);

Loading…
Cancel
Save