diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-05-24 14:46:03 -0500 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-05-27 00:19:17 -0500 |
commit | 2623a96ebf4c0b43e65d3ff3d7c1b0e56634acf3 (patch) | |
tree | 83e200ce1b909542acd3e7f57b45d0066a0800c9 | |
parent | 52e0d00942584b4a8a9ca1f59ffdea26277604ed (diff) |
call client_set-size() if client has a resize
-rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -784,6 +784,8 @@ commitnotify(struct wl_listener *listener, void *data) /* mark a pending resize as completed */ if (c->resize && c->resize <= c->surface.xdg->current.configure_serial) c->resize = 0; + else if (c->resize) + c->resize = client_set_size(c, c->geom.width - 2 * c->bw, c->geom.height - 2 * c->bw); } void |