summaryrefslogtreecommitdiff
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:56:01 +0200
commit4f4cb563ff96235b270c9699bfc5d958d056c24e (patch)
tree2d2cffcec938f37e67f095d40ea6188adbd22607
parent860cd42ba19275981dda7327242be09a05dc9ac1 (diff)
raise scratchpad container
(cherry picked from commit 810142dcc4228941b644ad68334d0b6f539b6fab)
-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) {