mirror of
https://github.com/labwc/labwc.git
synced 2026-02-15 22:05:25 -05:00
Avoid double use of struct workspace
`struct workspace` was used both for representing an actual workspace and for an entry of workspace configuration. Avoid it for clarity.
This commit is contained in:
parent
4819f47f98
commit
37618a1456
4 changed files with 39 additions and 41 deletions
|
|
@ -57,6 +57,11 @@ struct usable_area_override {
|
|||
struct wl_list link; /* struct rcxml.usable_area_overrides */
|
||||
};
|
||||
|
||||
struct workspace_config {
|
||||
struct wl_list link; /* struct rcxml.workspace_config.workspaces */
|
||||
char *name;
|
||||
};
|
||||
|
||||
struct rcxml {
|
||||
/* from command line */
|
||||
char *config_dir;
|
||||
|
|
@ -170,7 +175,7 @@ struct rcxml {
|
|||
int min_nr_workspaces;
|
||||
char *initial_workspace_name;
|
||||
char *prefix;
|
||||
struct wl_list workspaces; /* struct workspace.link */
|
||||
struct wl_list workspaces; /* struct workspace_config.link */
|
||||
} workspace_config;
|
||||
|
||||
/* Regions */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue