Revert "client: do not drop configure events based on current committed size" This reverts commit 242ffd7a7521a74fc9edf68bcc7e6a3cd75ec860. Removing this conditon can cause a xdg_toplevel.configure ↔ wl_surface.commit loop that uses 100% CPU. Fixes https://codeberg.org/dwl/dwl/issues/1245 Fixes https://codeberg.org/dwl/dwl/issues/1246
1 files changed, 3 insertions(+), 1 deletions(-) M client.h
M client.h => client.h +3 -1
@@ 376,7 376,9 @@ client_set_size(Client *c, uint32_t width, uint32_t height) return; } #endif wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, (int32_t)width, (int32_t)height); if ((int32_t)width != c->surface.xdg->toplevel->current.width || (int32_t)height != c->surface.xdg->toplevel->current.height) wlr_xdg_toplevel_set_size(c->surface.xdg->toplevel, (int32_t)width, (int32_t)height); } static inline void