mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-28 07:58:47 -04:00
opt: always notify the position change to x11 client
This commit is contained in:
parent
b55de28749
commit
f94ddc671e
1 changed files with 0 additions and 8 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue