graesslin added a comment.

  > the send_selection spec says we should be passing a null resource if we 
have no selection, whereas this version creates a data offer with nothing in it.
  But we have a selection, that's the point. We just don't have a datasource on 
the selection.
  Relevant code in KWin which goes into the code path:
    if (selection) {
                     } else {
  We do check whether we have a selection. So from KWayland Server side we have 
a selection. If we would not have a Selection it would go into 
  That we don't send any useful DataOffer doesn't really matter. We also don't 
check whether the DataSource has any offers.

  R127 KWayland


To: graesslin, #kwin, #plasma, #frameworks
Cc: davidedmundson, plasma-devel, leezu, ZrenBot, progwolff, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein, lukas

Reply via email to