D28667: [platforms/x11] Fix valigrind warning copying window icon for windowed mode

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added inline comments.

INLINE COMMENTS

> davidedmundson wrote in x11windowed_output.cpp:104
> NetIcon.data is non-const
> 
> const_cast would probably be safe as it seems setIcon also does a deep copy, but I'm sure adding that in the code would be frowned upon too

Didn't know that NETIcon::data has type of `unsigned char *`(weird choice). Please disregard my comment.

REPOSITORY
  R108 KWin

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

To: davidedmundson, #kwin, apol
Cc: zzag, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, 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.