fix: error changse surface scene in minimized client

will cause crash if close all client in overview, when has minimized
client before toggle overview
This commit is contained in:
DreamMaoMao 2026-05-23 14:54:55 +08:00
parent 46d0d139a5
commit 0950d4da9e
3 changed files with 13 additions and 8 deletions

View file

@ -1255,7 +1255,7 @@ void swallow(Client *c, Client *w) {
w->overview_scene_surface = NULL;
}
if (c->mon && c->mon->isoverview) {
if (c->mon && c->mon->isoverview && config.ov_no_resize) {
overview_backup_surface(c);
}