From 59752c1ddc7a0f049fdd8de6f53cfd60fdbb828b Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Tue, 13 May 2025 19:19:06 +0800 Subject: [PATCH] opt: remove needless judgement --- src/maomao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maomao.c b/src/maomao.c index 9b6e98c..1a17535 100644 --- a/src/maomao.c +++ b/src/maomao.c @@ -3733,7 +3733,7 @@ void focusclient(Client *c, int lift) { if (c && c->animation.tagouting && !c->animation.tagouting) return; - if (c && client_is_x11(c) && !client_surface_wants_focus(c)) { + if (c && !client_surface_wants_focus(c)) { return; }