mirror of
https://github.com/labwc/labwc.git
synced 2026-03-06 01:40:15 -05:00
desktop: use for_each_view() in desktop_topmost_focusable_view()
Fixes a regression in 83b619c2 that the bottom-most view is focused
when when an exclusive layer surface (e.g. fuzzel) is unfocused.
Also, added some comments to clarify the order.
This commit is contained in:
parent
67e3b36e58
commit
55a256f2fa
3 changed files with 4 additions and 3 deletions
|
|
@ -188,6 +188,7 @@ struct server {
|
|||
struct wlr_xdg_toplevel_icon_manager_v1 *xdg_toplevel_icon_manager;
|
||||
struct wl_listener xdg_toplevel_icon_set_icon;
|
||||
|
||||
/* front to back order */
|
||||
struct wl_list views;
|
||||
uint64_t next_view_creation_id;
|
||||
struct wl_list unmanaged_surfaces;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue