mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
rootston: add view_create
so we can do basic view setup. Will be used to initialize alpha.
This commit is contained in:
parent
69409ea3cb
commit
e6ca78b0e4
6 changed files with 11 additions and 4 deletions
|
|
@ -317,7 +317,7 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) {
|
|||
wl_signal_add(&surface->surface->events.commit,
|
||||
&roots_surface->surface_commit);
|
||||
|
||||
struct roots_view *view = calloc(1, sizeof(struct roots_view));
|
||||
struct roots_view *view = view_create();
|
||||
if (view == NULL) {
|
||||
free(roots_surface);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue