mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Fix egl workaround; Test with weston
This commit is contained in:
parent
50ce35e9da
commit
500e9184f1
2 changed files with 7 additions and 7 deletions
|
|
@ -166,6 +166,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend_state* backend,
|
|||
wl_shell_surface_set_class(ostate->shell_surface, "sway");
|
||||
wl_shell_surface_set_title(ostate->shell_surface, "sway-wl");
|
||||
wl_shell_surface_add_listener(ostate->shell_surface, &shell_surface_listener, ostate);
|
||||
wl_shell_surface_set_toplevel(ostate->shell_surface);
|
||||
|
||||
ostate->egl_window = wl_egl_window_create(ostate->surface, width, height);
|
||||
ostate->egl_surface = wlr_egl_create_surface(&backend->egl, ostate->egl_window);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue