elm - selection manager - fix string buffer handling and format types
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 5 Apr 2018 12:12:10 +0000 (21:12 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 13:25:57 +0000 (22:25 +0900)
commit93431294e532f6486c31de993376bd115c89458f
treea91f63325b0bb188c08a769405b01a121c2c9f7f
parentbd8032303f5df5bc78b65e1137bf79ad16b684c6
elm - selection manager - fix string buffer handling and format types

this has 2 bugs really. 1 - the format masks for plain text included
markup which ... is wrong - right? that should have a mime type of its
own... either way it leads to plain text pasts being handled wrong in
wayland... so this fixes that

also the string buffers in wayland just were nothandled right. buffers
were raw binary buffers plus size,not strings, but they were strdup'd
etc. assuming nul termination. oh so wrong to do that. this also fixes
that as i fpound it while fixing the above format bug.

this fixes T6284

@fix
src/lib/elementary/efl_selection_manager.c