mirror of
https://github.com/labwc/labwc.git
synced 2026-03-22 05:33:57 -04:00
window-switcher: add order parameter to allow stable window list ordering
Some checks failed
labwc.github.io / notify (push) Has been cancelled
Some checks failed
labwc.github.io / notify (push) Has been cancelled
Add a new configuration option to control the window switcher traversal order. `order="focus"` cycling is convenient for quick toggling, but some users - me as well - prefer a stable taskbar-like order which can now be achieved with `order="age"`.
This commit is contained in:
parent
eecb5d0947
commit
8fdf375af3
9 changed files with 45 additions and 2 deletions
|
|
@ -1036,6 +1036,7 @@ xwayland_view_create(struct server *server,
|
|||
CONNECT_SIGNAL(xsurface, xwayland_view, map_request);
|
||||
|
||||
wl_list_insert(&view->server->views, &view->link);
|
||||
view->creation_id = view->server->next_view_creation_id++;
|
||||
|
||||
if (xsurface->surface) {
|
||||
handle_associate(&xwayland_view->associate, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue