Changeset View
Changeset View
Standalone View
Standalone View
abstract_client.cpp
Show First 20 Lines • Show All 1621 Lines • ▼ Show 20 Line(s) | 1612 | for (auto i = windowManagementInterface()->minimizedGeometries().constBegin(), end = windowManagementInterface()->minimizedGeometries().constEnd(); i != end; ++i) { | |||
---|---|---|---|---|---|
1622 | } | 1622 | } | ||
1623 | } | 1623 | } | ||
1624 | if (!candidatePanel) { | 1624 | if (!candidatePanel) { | ||
1625 | return QRect(); | 1625 | return QRect(); | ||
1626 | } | 1626 | } | ||
1627 | return candidateGeom.translated(candidatePanel->pos()); | 1627 | return candidateGeom.translated(candidatePanel->pos()); | ||
1628 | } | 1628 | } | ||
1629 | 1629 | | |||
1630 | QRect AbstractClient::inputGeometry() const | ||||
1631 | { | ||||
1632 | if (isDecorated()) { | ||||
1633 | return Toplevel::inputGeometry() + decoration()->resizeOnlyBorders(); | ||||
1634 | } | ||||
luebking: spare this test and just
return TopLevel::inputGeometry() + decoration()->resizeOnlyBorders… | |||||
1635 | return Toplevel::inputGeometry(); | ||||
1636 | } | ||||
1637 | | ||||
1630 | } | 1638 | } |
spare this test and just
resp. even (more controlled, geometry() isn't virtual, but it depends on what you really need here)
?