fixed focus on fullscreen view destroy

This commit is contained in:
taiyu 2015-08-18 19:15:10 -07:00
parent 3c430688a8
commit 2f40459de4

View file

@ -142,9 +142,6 @@ void set_focused_container(swayc_t *c) {
// Find previous focused view, and the new focused view, if they are the same return // Find previous focused view, and the new focused view, if they are the same return
swayc_t *focused = get_focused_view(&root_container); swayc_t *focused = get_focused_view(&root_container);
swayc_t *workspace = active_workspace; swayc_t *workspace = active_workspace;
if (focused == get_focused_view(c)) {
return;
}
// update container focus from here to root, making necessary changes along // update container focus from here to root, making necessary changes along
// the way // the way