mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
Create sway_workspace struct.
This commit is contained in:
parent
bfd5834f4c
commit
c685ef081f
8 changed files with 28 additions and 26 deletions
|
|
@ -45,6 +45,7 @@ enum sway_container_border {
|
|||
|
||||
struct sway_root;
|
||||
struct sway_output;
|
||||
struct sway_workspace;
|
||||
struct sway_view;
|
||||
|
||||
struct sway_container {
|
||||
|
|
@ -52,6 +53,7 @@ struct sway_container {
|
|||
// TODO: Encapsulate state for other node types as well like C_CONTAINER
|
||||
struct sway_root *sway_root;
|
||||
struct sway_output *sway_output;
|
||||
struct sway_workspace *sway_workspace;
|
||||
struct sway_view *sway_view;
|
||||
};
|
||||
|
||||
|
|
@ -75,9 +77,6 @@ struct sway_container {
|
|||
// does not include borders or gaps.
|
||||
double width, height;
|
||||
|
||||
// For C_WORKSPACE only
|
||||
struct sway_view *fullscreen;
|
||||
|
||||
list_t *children;
|
||||
|
||||
struct sway_container *parent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue