diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-08 10:02:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-08 10:02:52 -0400 |
commit | 43161a7e178b59b6bff3f210f46e21e8bf67e066 (patch) | |
tree | 8550777f6cffe2f692831b5edb77c45c2867adc5 /sway/handlers.c | |
parent | 97daffea58b880c9b62dde02cd2dcd3c09f362eb (diff) | |
parent | 61005c3bdab54b2ee84365fed4894c0e34da6c5b (diff) |
Merge pull request #1387 from lbonn/ipc-work
ipc: various fixes for i3 compat
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 4a2298cd..db0c5e24 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -557,6 +557,8 @@ static void handle_view_destroyed(wlc_handle handle) { parent->fullscreen = NULL; } + ipc_event_window(parent, "close"); + // Destroy empty workspaces if (parent->type == C_WORKSPACE && parent->children->length == 0 && @@ -567,7 +569,6 @@ static void handle_view_destroyed(wlc_handle handle) { } arrange_windows(parent, -1, -1); - ipc_event_window(parent, "close"); } else { // Is it unmanaged? int i; |