mirror of
https://github.com/labwc/labwc.git
synced 2026-02-10 04:27:47 -05:00
Merge pull request #2030 from Consolatis/wip/cosmic_workspaces
Initial implementation of cosmic-workspace-unstable-v1
This commit is contained in:
commit
d18e67eea8
22 changed files with 1578 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