From d840b75c0dabae2ddc23ae2755d824154803e212 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 11 May 2026 14:38:14 +0800 Subject: [PATCH] opt: always notify x11 client position change --- src/client/client.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/client/client.h b/src/client/client.h index 27e8ef33..2b20c843 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -297,17 +297,6 @@ static inline uint32_t client_set_size(Client *c, uint32_t width, struct wlr_xwayland_surface *surface = c->surface.xwayland; struct wlr_surface_state *state = &surface->surface->current; - 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 && - (int32_t)c->surface.xwayland->x == - (int32_t)c->geom.x + (int32_t)c->bw && - (int32_t)c->surface.xwayland->y == - (int32_t)c->geom.y + (int32_t)c->bw) { - 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;