aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-10 18:20:35 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-01 18:35:58 +0000
commit3031ddfc16bbe39b5fe324b0495041c59245347c (patch)
tree10bea0db0ff2bdd934e89e6ab91a397580e9ab14 /CHANGELOG.md
parentchangelog: add entry for 1.5.4 (diff)
wayland: preempt render scheduling in ‘configure’ events
A configure event must be “committed”. In case of resizing, that means rendering a new frame and committing that surface. render_resize() will resize the grid and *schedule* a render refresh. However, if one is already pending, the refresh will take a very (relatively) long time - until the next frame callback is received. This poses a problem when the window is hidden, since in this case, the frame callback *never* comes. This in turn means we fail to commit a new surface in response to the ‘configure’ event. And that means the compositor needs to wait for a transaction timeout before continuing. The end effect is very slow and jerky window resizing when a hidden foot window is being resized. This can happen in tiled compositors, like Sway, where a window can be tabbed (and thus invisible), but still resized when its container is resized. Closes #190
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 92b1d2ac..b7a0a1f7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,9 @@
### Fixed
+* Resize very slow when window is hidden
+ (https://codeberg.org/dnkl/foot/issues/190).
+
## 1.5.3