diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-18 08:50:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-26 18:32:07 +0000 |
| commit | b4f1f72585df8fbc583b9cb7f168a971cffc5e02 (patch) | |
| tree | df6d0d40843fac3841b3b0bb565cafd9ac6760c7 /wayland.c | |
| parent | render: remove debug logging (diff) | |
render: don’t center content while doing an interactive resize
Diffstat (limited to 'wayland.c')
| -rw-r--r-- | wayland.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -686,6 +686,9 @@ xdg_surface_configure(void *data, struct xdg_surface *xdg_surface, * scheduled one. I.e. there will be a small delay after the user * has *stopped* resizing, and the client application receives the * final size. + * + * Note: if we also disable content centering while resizing, then + * the last, forced, resize *is* necessary. */ bool resized = was_resizing && !win->is_resizing ? render_resize_force(term, win->configure.width, win->configure.height) |
