Merge pull request #2354 from RyanDwyer/fix-crash-on-tab-reap

Fix crash when closing last child of a tabbed container
master
emersion 7 years ago committed by GitHub
commit fd1e2c172c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -181,6 +181,7 @@ static void handle_seat_container_destroy(struct wl_listener *listener,
bool set_focus =
focus != NULL &&
(focus == con || container_has_child(con, focus)) &&
con->parent && con->parent->children->length > 1 &&
con->type != C_WORKSPACE;
seat_container_destroy(seat_con);

Loading…
Cancel
Save