mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-24 16:12:23 +00:00
ba0cc8eb05
wlr_multi_backend sorts the states it is given and tries to perform sequential backend-wide commits for each sub-backend with the states that belong to it. It did not manage the index correctly for the next iteration, so given N states for a backend it would perform N backend-wide commits. Clarify the logic by calculating a length rather than an end pointer and update the index after each iteration. |
||
---|---|---|
.. | ||
backend.c | ||
meson.build |