aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/tree/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/root.c b/sway/tree/root.c
index 3d93405e..c7c5e1df 100644
--- a/sway/tree/root.c
+++ b/sway/tree/root.c
@@ -135,7 +135,7 @@ void root_scratchpad_show(struct sway_container *con) {
135 135
136void root_scratchpad_hide(struct sway_container *con) { 136void root_scratchpad_hide(struct sway_container *con) {
137 struct sway_seat *seat = input_manager_current_seat(); 137 struct sway_seat *seat = input_manager_current_seat();
138 struct sway_node *focus = seat_get_focus(seat); 138 struct sway_node *focus = seat_get_focus_inactive(seat, &root->node);
139 struct sway_workspace *ws = con->workspace; 139 struct sway_workspace *ws = con->workspace;
140 140
141 container_detach(con); 141 container_detach(con);