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

Roman Gilg noreply at phabricator.kde.org
Mon Apr 6 18:56:49 BST 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200406/565b6a91/attachment-0001.html>


More information about the kwin mailing list