aboutsummaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-10-07 11:31:07 -0400
committerKirill Primak <vyivel@eclair.cafe>2022-10-10 08:09:55 +0000
commitf0e31e806f7cb88c9d55dc0eb1876c86600d28df (patch)
treea0358c40d2ced1104593f49781544f6316d2d8fa /protocol
parentdd9cfd3e2f38c8f67694961acdc6b68222d067ea (diff)
wlr_scene: Fix not updating the scene node when setting a new buffer
If a new buffer is set for a buffer node, we must update the entire node unconditionally if the buffer size changes, or the buffer is given a buffer where it was previously NULL. While we're here, let's avoid calling scene_node_update on just damage updates. If the caller hasn't given us a damage region we just assume the whole buffer.
Diffstat (limited to 'protocol')
0 files changed, 0 insertions, 0 deletions