diff options
-rw-r--r-- | sway/handlers.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/handlers.c b/sway/handlers.c index b5e0a0e1..aca7806b 100644 --- a/sway/handlers.c +++ b/sway/handlers.c | |||
@@ -230,9 +230,7 @@ static void handle_view_destroyed(wlc_handle handle) { | |||
230 | 230 | ||
231 | swayc_t *focused_view = get_focused_view(&root_container); | 231 | swayc_t *focused_view = get_focused_view(&root_container); |
232 | if(focused_view->type == C_WORKSPACE && focused_view->children->length == 0){ | 232 | if(focused_view->type == C_WORKSPACE && focused_view->children->length == 0){ |
233 | sway_log(L_DEBUG, "we are here first"); | ||
234 | if(focused_view->floating->length > 0){ | 233 | if(focused_view->floating->length > 0){ |
235 | sway_log(L_DEBUG, "we are here %d", focused_view->floating->length); | ||
236 | focused_view = focused_view->floating->items[focused_view->floating->length-1]; | 234 | focused_view = focused_view->floating->items[focused_view->floating->length-1]; |
237 | focused_view = get_focused_view(focused_view); | 235 | focused_view = get_focused_view(focused_view); |
238 | } | 236 | } |