aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-07-04 00:06:21 +0200
committerFurkan Sahin <furkan-dev@proton.me>2024-07-04 00:06:21 +0200
commitfba6946a9d57806359a1b81ca97b8070015ed1b0 (patch)
treeed2bea697a40132bc31054edfde266cf7ba4f128 /include
parenta8cdb6741b50eaccf0a52cba0a7af0c7685bf86d (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