opt: fix scan out support for fullscreen

This commit is contained in:
DreamMaoMao 2026-06-06 11:20:19 +08:00
parent 8a92184667
commit 4e87e3b80d
2 changed files with 15 additions and 2 deletions

View file

@ -5526,6 +5526,7 @@ void setfullscreen(Client *c, int32_t fullscreen) // 用自定义全屏代理自
wlr_scene_node_raise_to_top(&c->scene->node); // 将视图提升到顶层
if (!is_scroller_layout(c->mon) || c->isfloating)
resize(c, c->mon->m, 1);
} else {
c->bw = c->isnoborder ? 0 : config.borderpx;
if (c->isfloating)