diff options
| author | Simon Ser <contact@emersion.fr> | 2024-07-04 00:06:21 +0200 |
|---|---|---|
| committer | Alexander Orzechowski <alex@ozal.ski> | 2024-07-03 18:30:08 -0400 |
| commit | 818ea17389326901093c0469a5225aab61ccc1ec (patch) | |
| tree | ed2bea697a40132bc31054edfde266cf7ba4f128 /include | |
| parent | d8c4a2d5fe5c2fb5f3941a5daf9edb679242bb11 (diff) | |
sway_text_node: avoid unnecessary redraws
When a floating container has a titlebar, render_backing_buffer()
ends up being called each time the container is moved. Add some
more checks for no-op changes in sway_text_node_set_max_width()
and sway_text_node_set_background(). This makes the move smoother.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
