wl_data_device.selection not re-advertised after resize
Steps to reproduce
- Copy some contents from another separate client
- Open kwrite (or another Qt app)
- Trigger a client driven resize
- Press the paste shortcut
Reason
I traced the debug, from the point of view of the client
- we start a resize
- we get told we've lost keyboard focus (which is fair enough)
- we delete our data offer (as per the spec on keyboard focus out)
" The data_offer is valid until a new data_offer or NULL is received or until the client loses keyboard focus."
- we get told we have keyboard focus again. The data offer is not re-sent.
I assume from Mutter's POV, we haven't lost focus as we were in the interactive resize as it's missing a path but from a client/spec POV we have.
GTK apps seem unaffected.
Originally reported as https://bugreports.qt.io/browse/QTBUG-125231