From 183f417f33c0ca1a1a134489ea579de4190a1688 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 2 Jun 2025 14:46:44 +0800 Subject: [PATCH] opt: remove useless code --- src/maomao.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/maomao.c b/src/maomao.c index 79e2b3e..6b384ba 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -6372,13 +6372,6 @@ void overview_restore(Client *c, const Arg *arg) { c->animation.tagining = false; c->is_restoring_from_ov = (arg->ui & c->tags & TAGMASK) == 0 ? true : false; - if (!VISIBLEON(c, c->mon)) { - c->animation.current = c->current = c->pending = c->geom; - wlr_scene_node_set_enabled(&c->scene->node, false); - client_set_suspended(c, true); - return; - } - if (c->isfloating) { // XRaiseWindow(dpy, c->win); // 提升悬浮窗口到顶层 resize(c, c->overview_backup_geom, 0);