opt: always notify x11 client position change

This commit is contained in:
DreamMaoMao 2026-04-22 10:15:55 +08:00
parent 34934a4a14
commit ac0823ee68

View file

@ -314,11 +314,6 @@ static inline uint32_t client_set_size(Client *c, uint32_t width,
int32_t width = c->geom.width - 2 * c->bw;
int32_t height = c->geom.height - 2 * c->bw;
if (c->mon && c->mon->isoverview && size_hints &&
c->geom.width - 2 * (int32_t)c->bw < size_hints->min_width &&
c->geom.height - 2 * (int32_t)c->bw < size_hints->min_height)
return 0;
if (size_hints &&
c->geom.width - 2 * (int32_t)c->bw < size_hints->min_width)
width = size_hints->min_width;