aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorodyxz <fasded0100@gmail.com>2025-01-06 13:21:08 +0200
committerSimon Ser <contact@emersion.fr>2025-05-18 23:52:08 +0200
commit810142dcc4228941b644ad68334d0b6f539b6fab (patch)
tree88fe79c694300e93827410065330a9cce9f33d81
parenta4072486ded62fcde586c10230cc79af833c55b6 (diff)
raise scratchpad container
-rw-r--r--sway/tree/root.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/root.c b/sway/tree/root.c
index 19d072b5..33c29d38 100644
--- a/sway/tree/root.c
+++ b/sway/tree/root.c
@@ -199,6 +199,8 @@ void root_scratchpad_show(struct sway_container *con) {
if (old_ws) {
workspace_consider_destroy(old_ws);
}
+
+ container_raise_floating(con);
}
static void disable_fullscreen(struct sway_container *con, void *data) {