diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-10-07 11:31:07 -0400 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-10-10 08:09:55 +0000 |
commit | f0e31e806f7cb88c9d55dc0eb1876c86600d28df (patch) | |
tree | a0358c40d2ced1104593f49781544f6316d2d8fa /xwayland/selection | |
parent | dd9cfd3e2f38c8f67694961acdc6b68222d067ea (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 'xwayland/selection')
0 files changed, 0 insertions, 0 deletions