aboutsummaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-30 01:00:56 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-30 01:00:56 -0400
commit122ca38c205318873e4336163f22db853f41bd7c (patch)
tree708d4a368dae858e73100f58567edabcd839e028 /sway/handlers.c
parent79da7f112a5cd228ab45af3c1ef7f4f67bff936d (diff)
parent28e937020abe440e3ad803330c91fc52a05d87fe (diff)
Merge pull request #152 from Luminarys/master
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;