aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bar/gaps.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-02-22 18:43:20 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2023-02-22 13:37:44 -0500
commit16b0afd4331dbd8ed6bb1df49e8309d05f4488dd (patch)
tree732834ef9a90d2585c0f15b915c82e66f4fa63fe /sway/commands/bar/gaps.c
parentc2ccc0c9d4726a2d1f23f1696c7b6aa0f6cb1a63 (diff)
Check for empty damage before attaching render buffer
Check whether output->damage_ring.current is empty before calling wlr_output_attach_render(). Saves us from having to un-do that via wlr_output_rollback().
Diffstat (limited to 'sway/commands/bar/gaps.c')
0 files changed, 0 insertions, 0 deletions