D28630: [xwl] Fix crash if same data is requested twice

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg accepted this revision.
romangg added a comment.
This revision is now accepted and ready to land.


  Yes, makes sense. I checked back on the protocol to see if a Wayland client can request the same offer multiple times and of course[[ https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_data_offer-request-receive |  it can ]] to receive multiple mime types.
  
  The assert afterwards becomes useless by that (since you check `!req.second` already).

REPOSITORY
  R108 KWin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D28630

To: davidedmundson, #kwin, romangg
Cc: romangg, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.