mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue