Review Request 115147: Fix non-X11 implementation of KPassivePopup placement
Alex Merry
kde at randomguy3.me.uk
Mon Jan 20 17:59:10 UTC 2014
> On Jan. 20, 2014, 2:17 p.m., Martin Gräßlin wrote:
> > src/kpassivepopup.cpp, lines 471-473
> > <https://git.reviewboard.kde.org/r/115147/diff/1/?file=234805#file234805line471>
> >
> > is this comment still valid? QXcbWindow knows the concept of foreign windows. So maybe the code could just be simplified and the if - else completely removed?
>
> Alex Merry wrote:
> It has foreign windows, it just doesn't fetch any geometry information for them. Unless that's been added since I last looked (which was after the Qt 5.2 feature freeze).
>
> Martin Gräßlin wrote:
> ok that might make sense. I guess we cannot depend on KWindowSystem, right?
We can and do (which is why KPassivePopup is here and not in KGuiAddons). In particular, the X11 path uses NETWinInfo.
I made https://git.reviewboard.kde.org/r/115157/ as an alternative using KWindowInfo.
- Alex
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115147/#review47781
-----------------------------------------------------------
On Jan. 20, 2014, 2:22 p.m., Alex Merry wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115147/
> -----------------------------------------------------------
>
> (Updated Jan. 20, 2014, 2:22 p.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Repository: knotifications
>
>
> Description
> -------
>
> Fix non-X11 implementation of KPassivePopup placement
>
>
> Diffs
> -----
>
> src/kpassivepopup.cpp b41cb8dc8b3372346bd12c0413bf6bfa9a6fd00d
> tests/kpassivepopuptest.h bc0dedc71b4bef8dbc5c89b79c82fb920929cced
>
> Diff: https://git.reviewboard.kde.org/r/115147/diff/
>
>
> Testing
> -------
>
> Builds when I comment out find_package(X11) in the CMakeLists.txt file.
>
>
> Thanks,
>
> Alex Merry
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140120/f7e91079/attachment.html>
More information about the Kde-frameworks-devel
mailing list