Cosmic-workspaces was having an issue when the compositor sent ready, failed, then stopped. This could be worked around client-side, but presumably the compositor should never send more than one failed/ready for a particular frame.
It seems cleaner to have FrameInner::fail as the only place that sends failed. So any checks can be there. I believe the logic there should be appropriate for every call.
Cosmic-workspaces was having an issue when the compositor sent
ready
,failed
, thenstopped
. This could be worked around client-side, but presumably the compositor should never send more than onefailed
/ready
for a particular frame.It seems cleaner to have
FrameInner::fail
as the only place that sendsfailed
. So any checks can be there. I believe the logic there should be appropriate for every call.