Merge pull request #2358 from CedricCabessa/fix-2355-move-workspace-crashes

fix #2355: "move workspace to output up" crashes
This commit is contained in:
emersion 2018-07-25 16:24:15 +01:00 committed by GitHub
commit 6a8d1e5044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,9 @@ void container_create_notify(struct sway_container *container) {
} }
static void container_update_textures_recursive(struct sway_container *con) { static void container_update_textures_recursive(struct sway_container *con) {
container_update_title_textures(con); if (con->type == C_CONTAINER || con->type == C_VIEW) {
container_update_title_textures(con);
}
if (con->type == C_VIEW) { if (con->type == C_VIEW) {
view_update_marks_textures(con->sway_view); view_update_marks_textures(con->sway_view);