Review Request 115147: Fix non-X11 implementation of KPassivePopup placement

Alex Merry kde at randomguy3.me.uk
Mon Jan 20 14:21:28 UTC 2014



> On Jan. 20, 2014, 2:17 p.m., Martin Gräßlin wrote:
> > src/kpassivepopup.cpp, line 37
> > <https://git.reviewboard.kde.org/r/115147/diff/1/?file=234805#file234805line37>
> >
> >     why is the QScreen include needed? Looks like the changes don't use it

The line "window->screen()->availableGeometry();" (477) requires it.


> 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?

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).


- Alex


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


On Jan. 20, 2014, 2:03 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:03 p.m.)
> 
> 
> Review request for KDE Frameworks.
> 
> 
> Repository: knotifications
> 
> 
> Description
> -------
> 
> Fix non-X11 implementation of KPassivePopup placement
> 
> 
> Diffs
> -----
> 
>   src/kpassivepopup.cpp b41cb8dc8b3372346bd12c0413bf6bfa9a6fd00d 
> 
> 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/2e4dffd5/attachment.html>


More information about the Kde-frameworks-devel mailing list