workspaces: slight struct reordering

This commit is contained in:
Consolatis 2024-07-25 21:56:05 +02:00
parent 750d37b16c
commit d9866aafa5
9 changed files with 40 additions and 38 deletions

View file

@ -297,9 +297,11 @@ struct server {
struct wlr_scene_tree *menu_tree;
/* Workspaces */
struct wl_list workspaces; /* struct workspace.link */
struct workspace *workspace_current;
struct workspace *workspace_last;
struct {
struct wl_list all; /* struct workspace.link */
struct workspace *current;
struct workspace *last;
} workspaces;
struct wl_list outputs;
struct wl_listener new_output;