mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-23 08:56:29 -05:00
Merge branch 'master' into fullscreen
This commit is contained in:
commit
a7a221698e
4 changed files with 10 additions and 3 deletions
|
|
@ -246,15 +246,12 @@ void view_destroy(struct roots_view *view) {
|
|||
view->fullscreen_output->fullscreen_view = NULL;
|
||||
}
|
||||
|
||||
wl_list_remove(&view->link);
|
||||
free(view);
|
||||
}
|
||||
|
||||
void view_init(struct roots_view *view, struct roots_desktop *desktop) {
|
||||
view->desktop = desktop;
|
||||
wl_signal_init(&view->events.destroy);
|
||||
|
||||
wl_list_insert(&desktop->views, &view->link);
|
||||
}
|
||||
|
||||
void view_setup(struct roots_view *view) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue