From fde0eee0a564f63851d81add88951403fc040685 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Wed, 24 Jun 2026 18:15:26 +0800 Subject: [PATCH] opt: set surface_scene to 0 when client is fullscreen It is noted that the foot terminal cannot enter the scan-out, but other clients do not have this problem --- src/animation/client.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/animation/client.h b/src/animation/client.h index 54a58284..09e9cc5f 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -660,6 +660,7 @@ void apply_border(Client *c) { if (c->isfullscreen) { if (c->border->node.enabled) { + wlr_scene_node_set_position(&c->scene_surface->node, 0, 0); wlr_scene_node_set_enabled(&c->splitindicator[0]->node, false); wlr_scene_node_set_enabled(&c->splitindicator[1]->node, false); wlr_scene_node_set_enabled(&c->border->node, false);