diff options
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/output.h | 4 | ||||
-rw-r--r-- | include/sway/tree/container.h | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 9964a484..8945dde4 100644 --- a/include/sway/output.h +++ b/include/sway/output.h | |||
@@ -37,8 +37,8 @@ void output_damage_whole(struct sway_output *output); | |||
37 | void output_damage_whole_view(struct sway_output *output, | 37 | void output_damage_whole_view(struct sway_output *output, |
38 | struct sway_view *view); | 38 | struct sway_view *view); |
39 | 39 | ||
40 | void output_damage_whole_surface(struct sway_output *output, | 40 | void output_damage_whole_rect(struct sway_output *output, double ox, double oy, |
41 | struct wlr_surface *surface, double ox, double oy); | 41 | int width, int height); |
42 | 42 | ||
43 | struct sway_container *output_by_name(const char *name); | 43 | struct sway_container *output_by_name(const char *name); |
44 | 44 | ||
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 3a3a9429..7acb607b 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -97,8 +97,7 @@ struct sway_container *container_create(enum sway_container_type type); | |||
97 | 97 | ||
98 | const char *container_type_to_str(enum sway_container_type type); | 98 | const char *container_type_to_str(enum sway_container_type type); |
99 | 99 | ||
100 | struct sway_container *output_create( | 100 | struct sway_container *output_create(struct sway_output *sway_output); |
101 | struct sway_output *sway_output); | ||
102 | 101 | ||
103 | /** | 102 | /** |
104 | * Create a new container container. A container container can be a a child of | 103 | * Create a new container container. A container container can be a a child of |
@@ -116,7 +115,8 @@ struct sway_container *output_create(struct sway_output *sway_output); | |||
116 | * Create a new workspace container. Workspaces are children of an output | 115 | * Create a new workspace container. Workspaces are children of an output |
117 | * container and are ordered alphabetically by name. | 116 | * container and are ordered alphabetically by name. |
118 | */ | 117 | */ |
119 | struct sway_container *workspace_create(struct sway_container *output, const char *name); | 118 | struct sway_container *workspace_create(struct sway_container *output, |
119 | const char *name); | ||
120 | 120 | ||
121 | /* | 121 | /* |
122 | * Create a new view container. A view can be a child of a workspace container | 122 | * Create a new view container. A view can be a child of a workspace container |
@@ -182,4 +182,6 @@ bool container_has_child(struct sway_container *con, | |||
182 | 182 | ||
183 | void container_create_notify(struct sway_container *container); | 183 | void container_create_notify(struct sway_container *container); |
184 | 184 | ||
185 | void container_damage_whole(struct sway_container *container); | ||
186 | |||
185 | #endif | 187 | #endif |