From fa07f52af9db5a857024c8da0d38541dd42a608e Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Sat, 8 Feb 2025 11:12:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index b51b8679..0912a21f 100644 --- a/main.c +++ b/main.c @@ -4606,7 +4606,7 @@ void overview_restore(Client *c, const Arg *arg) { c->overview_isfullscreenbak = 0; c->overview_isfakefullscreenbak = 0; c->bw = c->overview_backup_bw; - c->is_restoring_from_ov = (arg->ui & c->tags) == 0 ? true : false; + c->is_restoring_from_ov = (arg->ui & c->tags & TAGMASK) == 0 ? true : false; if (c->isfloating) { // XRaiseWindow(dpy, c->win); // 提升悬浮窗口到顶层 resizeclient(c, c->overview_backup_x, c->overview_backup_y,