mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04: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
|
|
@ -333,7 +333,7 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) {
|
|||
roots_surface->new_popup.notify = handle_new_popup;
|
||||
wl_signal_add(&surface->events.new_popup, &roots_surface->new_popup);
|
||||
|
||||
struct roots_view *view = calloc(1, sizeof(struct roots_view));
|
||||
struct roots_view *view = view_create();
|
||||
if (!view) {
|
||||
free(roots_surface);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue