Merge branch 'next' into stable/10

This commit is contained in:
Yuxuan Shui 2022-11-22 16:27:04 +00:00
commit 15673c3c58
No known key found for this signature in database
GPG Key ID: D3A4405BE6CC17F4
2 changed files with 3 additions and 2 deletions

View File

@ -539,8 +539,8 @@ static bool initialize_backend(session_t *ps) {
} else {
shader->attributes = 0;
}
log_debug("Shader %s has attributes %ld", shader->key,
shader->attributes);
log_debug("Shader %s has attributes %" PRIu64,
shader->key, shader->attributes);
}
}

View File

@ -2140,6 +2140,7 @@ static void destroy_win_finish(session_t *ps, struct win *w) {
assert(mw->shadow_image != NULL);
win_release_shadow(ps->backend_data, mw);
}
win_release_mask(ps->backend_data, mw);
// Invalidate reg_ignore of windows below this one
// TODO(yshui) what if next_w is not mapped??