From f94ddc671e1d01ad85ffd6f1cf2f09811c2629c8 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Fri, 27 Mar 2026 07:14:56 +0800 Subject: [PATCH] opt: always notify the position change to x11 client --- src/client/client.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/client/client.h b/src/client/client.h index e7e44748..965b4106 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -308,14 +308,6 @@ static inline uint32_t client_set_size(Client *c, uint32_t width, return 0; } - if ((int32_t)c->geom.width - 2 * (int32_t)c->bw == - (int32_t)state->width && - (int32_t)c->geom.height - 2 * (int32_t)c->bw == - (int32_t)state->height && - c->mon && !INSIDEMON(c)) { - return 0; - } - xcb_size_hints_t *size_hints = surface->size_hints; int32_t width = c->geom.width - 2 * c->bw; int32_t height = c->geom.height - 2 * c->bw;