Merge pull request #3530 from RyanDwyer/fix-assertion

Remove bad assertion in container_handle_fullscreen_reparent
master
Drew DeVault 6 years ago committed by GitHub
commit 606f6a3707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1182,10 +1182,7 @@ list_t *container_get_current_siblings(struct sway_container *container) {
}
void container_handle_fullscreen_reparent(struct sway_container *con) {
if (!sway_assert(con->workspace, "Expected con to have a workspace")) {
return;
}
if (con->fullscreen_mode != FULLSCREEN_WORKSPACE ||
if (con->fullscreen_mode != FULLSCREEN_WORKSPACE || !con->workspace ||
con->workspace->fullscreen == con) {
return;
}

Loading…
Cancel
Save