aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorLuminarys <kizunanohikari@gmail.com>2015-08-29 21:14:13 -0500
committerLuminarys <kizunanohikari@gmail.com>2015-08-29 21:14:13 -0500
commit28e937020abe440e3ad803330c91fc52a05d87fe (patch)
tree708d4a368dae858e73100f58567edabcd839e028 /sway/handlers.c
parent79da7f112a5cd228ab45af3c1ef7f4f67bff936d (diff)
Made scratchpad handling identical to i3
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index d0b129e8..4c21c6b9 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -237,6 +237,7 @@ static void handle_view_destroyed(wlc_handle handle) {
case WLC_BIT_POPUP:
if (view) {
swayc_t *parent = destroy_view(view);
+ remove_view_from_scratchpad(view);
arrange_windows(parent, -1, -1);
}
break;