opt: always notify the position change to x11 client

This commit is contained in:
DreamMaoMao 2026-03-27 07:14:56 +08:00
parent b55de28749
commit f94ddc671e

View file

@ -308,14 +308,6 @@ static inline uint32_t client_set_size(Client *c, uint32_t width,
return 0; 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; xcb_size_hints_t *size_hints = surface->size_hints;
int32_t width = c->geom.width - 2 * c->bw; int32_t width = c->geom.width - 2 * c->bw;
int32_t height = c->geom.height - 2 * c->bw; int32_t height = c->geom.height - 2 * c->bw;