mirror of
https://github.com/labwc/labwc.git
synced 2026-02-15 04:27:53 -05:00
workspaces: slight struct reordering
This commit is contained in:
parent
750d37b16c
commit
d9866aafa5
9 changed files with 40 additions and 38 deletions
|
|
@ -145,7 +145,7 @@ desktop_topmost_focusable_view(struct server *server)
|
|||
struct view *view;
|
||||
struct wl_list *node_list;
|
||||
struct wlr_scene_node *node;
|
||||
node_list = &server->workspace_current->tree->children;
|
||||
node_list = &server->workspaces.current->tree->children;
|
||||
wl_list_for_each_reverse(node, node_list, link) {
|
||||
if (!node->data) {
|
||||
/* We found some non-view, most likely the region overlay */
|
||||
|
|
@ -185,7 +185,7 @@ desktop_focus_output(struct output *output)
|
|||
struct wlr_scene_node *node;
|
||||
struct wlr_output_layout *layout = output->server->output_layout;
|
||||
struct wl_list *list_head =
|
||||
&output->server->workspace_current->tree->children;
|
||||
&output->server->workspaces.current->tree->children;
|
||||
wl_list_for_each_reverse(node, list_head, link) {
|
||||
if (!node->data) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue