diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-22 18:43:20 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-02-22 13:37:44 -0500 |
commit | 16b0afd4331dbd8ed6bb1df49e8309d05f4488dd (patch) | |
tree | 732834ef9a90d2585c0f15b915c82e66f4fa63fe /sway/commands/scratchpad.c | |
parent | c2ccc0c9d4726a2d1f23f1696c7b6aa0f6cb1a63 (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/scratchpad.c')
0 files changed, 0 insertions, 0 deletions