opt: remove needless judgement

This commit is contained in:
DreamMaoMao 2025-05-13 19:19:06 +08:00
parent 2d5388a4d7
commit 59752c1ddc

View file

@ -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;
}