aboutsummaryrefslogtreecommitdiff
path: root/sway/scratchpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/scratchpad.c')
-rw-r--r--sway/scratchpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/scratchpad.c b/sway/scratchpad.c
index 1e836e7d..64636c77 100644
--- a/sway/scratchpad.c
+++ b/sway/scratchpad.c
@@ -54,7 +54,7 @@ static void scratchpad_show(struct sway_container *con) {
// If the current con or any of its parents are in fullscreen mode, we
// first need to disable it before showing the scratchpad con.
if (ws->sway_workspace->fullscreen) {
- view_set_fullscreen(ws->sway_workspace->fullscreen, false);
+ container_set_fullscreen(ws->sway_workspace->fullscreen, false);
}
// Show the container