mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-26 07:57:59 -04:00
render: don’t center content while doing an interactive resize
This commit is contained in:
parent
2dc774fb17
commit
b4f1f72585
2 changed files with 4 additions and 1 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue