mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-15 08:22:07 -04:00
Merge branch 'foreign-toplevel-order' into 'master'
{wlr,ext}-foreign-toplevel: add new toplevels to end of list
See merge request wlroots/wlroots!5337
This commit is contained in:
commit
63526f6efb
2 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ wlr_ext_foreign_toplevel_handle_v1_create(struct wlr_ext_foreign_toplevel_list_v
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_list_insert(&list->toplevels, &toplevel->link);
|
wl_list_insert(list->toplevels.prev, &toplevel->link);
|
||||||
toplevel->list = list;
|
toplevel->list = list;
|
||||||
if (state->app_id) {
|
if (state->app_id) {
|
||||||
toplevel->app_id = strdup(state->app_id);
|
toplevel->app_id = strdup(state->app_id);
|
||||||
|
|
|
||||||
|
|
@ -530,7 +530,7 @@ wlr_foreign_toplevel_handle_v1_create(
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_list_insert(&manager->toplevels, &toplevel->link);
|
wl_list_insert(manager->toplevels.prev, &toplevel->link);
|
||||||
toplevel->manager = manager;
|
toplevel->manager = manager;
|
||||||
|
|
||||||
wl_list_init(&toplevel->resources);
|
wl_list_init(&toplevel->resources);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue