layer-shell: use committed field to detect configuration change
layer-shell: use committed field to detect configuration change

We need to re-configure the layer surfaces every time some of their attributes change. We used to just compare the whole state struct with memcmp to the old state, but the state also includes irrelevant information, which causes excess configures from the compositor side.

Fixes #1328
ammen99/wayfire,ammen99/wayfire