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); | |||
46 | 46 | ||
47 | /** | 47 | /** |
48 | * Move a container to the scratchpad. | 48 | * Move a container to the scratchpad. |
49 | * If a workspace is passed, the container is assumed to have been in | ||
50 | * the scratchpad before and is shown on the workspace. | ||
51 | * The ws parameter can safely be NULL. | ||
49 | */ | 52 | */ |
50 | void root_scratchpad_add_container(struct sway_container *con); | 53 | void root_scratchpad_add_container(struct sway_container *con, |
54 | struct sway_workspace *ws); | ||
51 | 55 | ||
52 | /** | 56 | /** |
53 | * Remove a container from the scratchpad. | 57 | * Remove a container from the scratchpad. |