aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-07-04 00:06:21 +0200
committerAlexander Orzechowski <alex@ozal.ski>2024-07-03 18:30:08 -0400
commit818ea17389326901093c0469a5225aab61ccc1ec (patch)
treeed2bea697a40132bc31054edfde266cf7ba4f128 /include
parentd8c4a2d5fe5c2fb5f3941a5daf9edb679242bb11 (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