fix: geometry error when no animation

This commit is contained in:
DreamMaoMao 2025-08-02 10:07:25 +08:00
parent 4d649e7313
commit d4c0ebfa5b

View file

@ -2181,6 +2181,8 @@ void commitnotify(struct wl_listener *listener, void *data) {
setmon(c, NULL, 0,
true); /* Make sure to reapply rules in mapnotify() */
client_set_tiled(c, WLR_EDGE_TOP | WLR_EDGE_BOTTOM | WLR_EDGE_LEFT |
WLR_EDGE_RIGHT);
uint32_t serial = wlr_xdg_surface_schedule_configure(c->surface.xdg);
if (serial > 0) {
c->configure_serial = serial;