summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRaphael Robatsch <raphael-git@tapesoftware.net>2021-11-06 19:51:17 +0100
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-03-31 15:27:13 -0600
commit79b7e755b010fc1486a89a46251a404cb97a341a (patch)
treec9cef2995e30dfa4b80f7fc83bdbdc324243f334 /Makefile
parentb424602ebc2dc26a3c974ee2a87ab745821491b6 (diff)
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions