D23102: Reduce duplicate code calculating popup position
Roman Gilg
noreply at phabricator.kde.org
Mon Aug 12 10:54:48 BST 2019
romangg accepted this revision.
romangg added a comment.
This revision is now accepted and ready to land.
Your comments explain the new control flow just fine and why it is equivalent to the old one. You can add the const on push, no need to update the diff on Phab before.
INLINE COMMENTS
> useractions.cpp:155
> + if (y != pos.top()) {
> + QRect area = Workspace::self()->clientArea(ScreenArea, QPoint(x, y),
> + VirtualDesktopManager::self()->current());
const
REPOSITORY
R108 KWin
BRANCH
arcpatch-D23102
REVISION DETAIL
https://phabricator.kde.org/D23102
To: gladhorn, #kwin, romangg
Cc: romangg, kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190812/7d30835f/attachment.html>
More information about the kwin
mailing list