My KWIN fork where I work on features like per-output virtual desktops
Find a file
David Edmundson d73bdf2ee2 Fix layer shell reset
In the current form any client committing multiple times without
attaching a buffer would unset the cached state and trigger an error.

It's legal (though weird) to commit multiple times before attaching a
buffer.

We should only reset the state if we commit an empty buffer after having
committed an existing buffer. This brings us in line with XdgShell.
2022-04-05 13:59:12 +01:00
src/wayland Fix layer shell reset 2022-04-05 13:59:12 +01:00