diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/root.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sway/tree/root.h b/include/sway/tree/root.h index c4f84207..799d751a 100644 --- a/include/sway/tree/root.h +++ b/include/sway/tree/root.h @@ -46,8 +46,12 @@ void root_destroy(struct sway_root *root); /** * Move a container to the scratchpad. + * If a workspace is passed, the container is assumed to have been in + * the scratchpad before and is shown on the workspace. + * The ws parameter can safely be NULL. */ -void root_scratchpad_add_container(struct sway_container *con); +void root_scratchpad_add_container(struct sway_container *con, + struct sway_workspace *ws); /** * Remove a container from the scratchpad. |