[Differential] [Changed Subscribers] D2787: Add support for resize only borders on Wayland
luebking (Thomas Lübking)
noreply at phabricator.kde.org
Thu Sep 15 20:25:14 UTC 2016
luebking added inline comments.
INLINE COMMENTS
> abstract_client.cpp:1634
> + const auto margins = decoration()->resizeOnlyBorders();
> + if (!margins.isNull()) {
> + return Toplevel::inputGeometry() + margins;
spare this test and just
return TopLevel::inputGeometry() + decoration()->resizeOnlyBorders();
resp. even (more controlled, geometry() isn't virtual, but it depends on what you really need here)
return geometry() + decoration()->resizeOnlyBorders();
?
REPOSITORY
rKWIN KWin
REVISION DETAIL
https://phabricator.kde.org/D2787
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland
Cc: luebking, plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160915/c71cf0f7/attachment.html>
More information about the Plasma-devel
mailing list