Review Request 121459: Fixed data type for _KDE_NET_WM_BLUR_BEHIND_REGION

Hugo Pereira Da Costa hugo.pereira at free.fr
Fri Dec 12 16:03:21 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121459/
-----------------------------------------------------------

(Updated Dec. 12, 2014, 4:03 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks and kwin.


Repository: kwin


Description
-------

Somehow (although I do not know the details), the change from X calls to xcb (or similarily XA_CARDINAL to XCB_ATOM_CARDINAL) involves a conversion from unsigned int to uint32_t.
As a consequence one must change the data type and cast accordingly, so that 'valid' blur regions passed from Qt4/KDE4 applications and that where properly honored by kwin at kde4 are still working for kwin at kf5

thanks


Diffs
-----

  effects/blur/blur.cpp 29852de 

Diff: https://git.reviewboard.kde.org/r/121459/diff/


Testing
-------

yes

BLUR_BEHIND_REGIONS that were honored with kde4 and not any more with kf5, are again ...

I have no clue whether this impacts plasma at kf5
(it could well be that there the property was fixed 'the other way around', by casting from unsigned long to uint_32 when setting the property, via XCB. This however would break when running against kwin at kde4)


Thanks,

Hugo Pereira Da Costa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141212/06877e69/attachment.html>


More information about the Kde-frameworks-devel mailing list