diff options
author | 2015-08-18 04:09:43 -0700 | |
---|---|---|
committer | 2015-08-18 04:09:43 -0700 | |
commit | af1b3d97550c749de4e71f50784dc17f1a31c135 (patch) | |
tree | 801734bb8261b6e519a22e5fd44c1cccc957ae8e /sway/handlers.c | |
parent | Find a2x through CMake (diff) | |
download | sway-af1b3d97550c749de4e71f50784dc17f1a31c135.tar.gz sway-af1b3d97550c749de4e71f50784dc17f1a31c135.tar.zst sway-af1b3d97550c749de4e71f50784dc17f1a31c135.zip |
fixed floating window crashing bug
Diffstat (limited to 'sway/handlers.c')
-rw-r--r-- | sway/handlers.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index 0157d466..ebfd22ad 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -168,7 +168,6 @@ static bool handle_view_created(wlc_handle handle) { | |||
168 | static void handle_view_destroyed(wlc_handle handle) { | 168 | static void handle_view_destroyed(wlc_handle handle) { |
169 | sway_log(L_DEBUG, "Destroying window %lu", handle); | 169 | sway_log(L_DEBUG, "Destroying window %lu", handle); |
170 | swayc_t *view = get_swayc_for_handle(handle, &root_container); | 170 | swayc_t *view = get_swayc_for_handle(handle, &root_container); |
171 | swayc_t *focused = get_focused_container(&root_container); | ||
172 | 171 | ||
173 | switch (wlc_view_get_type(handle)) { | 172 | switch (wlc_view_get_type(handle)) { |
174 | //regular view created regularly | 173 | //regular view created regularly |