mirror of
https://github.com/labwc/labwc.git
synced 2026-02-05 04:06:33 -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
|
|
@ -10,12 +10,8 @@ struct seat;
|
|||
struct server;
|
||||
struct wlr_scene_tree;
|
||||
|
||||
/* Double use: as config in config/rcxml.c and as instance in workspaces.c */
|
||||
struct workspace {
|
||||
struct wl_list link; /*
|
||||
* struct server.workspaces
|
||||
* struct rcxml.workspace_config.workspaces
|
||||
*/
|
||||
struct wl_list link; /* struct server.workspaces */
|
||||
struct server *server;
|
||||
|
||||
char *name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue