diff options
author | Drew DeVault <[email protected]> | 2018-04-05 22:53:21 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2018-04-05 22:53:21 -0400 |
commit | f63d9417cd4d25121fa1fd309acad14a7562a55c (patch) | |
tree | c46a070652793db69ec5d6c5258d0e6cf86c1231 /include/sway/tree/container.h | |
parent | 268c68b41707a664e5059699c720f000f20e2276 (diff) | |
parent | 641807d920854fdecc1307bd809c198db1a7dff1 (diff) |
Merge pull request #1743 from emersion/subsurface-damage-tracking
Damage tracking for view children
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 8 |
1 files changed, 5 insertions, 3 deletions
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); const char *container_type_to_str(enum sway_container_type type); -struct sway_container *output_create( - struct sway_output *sway_output); +struct sway_container *output_create(struct sway_output *sway_output); /** * 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); * Create a new workspace container. Workspaces are children of an output * container and are ordered alphabetically by name. */ -struct sway_container *workspace_create(struct sway_container *output, const char *name); +struct sway_container *workspace_create(struct sway_container *output, + const char *name); /* * 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, void container_create_notify(struct sway_container *container); +void container_damage_whole(struct sway_container *container); + #endif |