my personal dwl config managed with pijul.

Layer shell: Prevent infinte configure/commit loop

Check the wlr_layer_surface_v1_state.committed bitmask to see if we need to rearrange. This is also what sway does.

Without this check, every commit request (even if only the attached buffer changed) will lead to another configure event, which will lead to another commit, etc.

This loop results in swaybg consuming 100% CPU.

Co-authored-by: Owen Rafferty <owen@owenrafferty.com>

Created by  Raphael Robatsch  on November 6, 2021
RNG3EGYA7CPC7U3ITXVGPE6AR532XSUX4SVIDADXXVPKAKINX5JAC
Change contents