Protocol for selection owner death
I'm writing a clipboard manager and trying to figure out how I can take over selection ownership when the previous owner application dies. For example, open a terminal, copy something, close the terminal. Without compositor support, the clipboard will be empty at this point. Is there a protocol that would tell me if the selection owner dies? Or maybe just that an application died?
Ideally I think an event should be added to the data control protocol.