summaryrefslogtreecommitdiff
path: root/surface.c
diff options
context:
space:
mode:
authorAlexander Orzechowski <[email protected]>2022-10-07 11:31:07 -0400
committerKirill Primak <[email protected]>2022-10-10 08:09:55 +0000
commitb16a406077498a832d39e0d0df052f9eebf12624 (patch)
treee1a33446924b59350ec45747e9a63d29e92eb9e9 /surface.c
parent8e19a9e3e4e2c7340706c89071d0c8dfb57717d1 (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 'surface.c')
0 files changed, 0 insertions, 0 deletions