mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
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.
This commit is contained in:
parent
fb05923eaa
commit
3377e5e4f2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user