Changeset View
Changeset View
Standalone View
Standalone View
abstract_client.cpp
Show First 20 Lines • Show All 712 Lines • ▼ Show 20 Line(s) | 712 | if (tx < area.x()) | |||
---|---|---|---|---|---|
713 | tx = area.x(); | 713 | tx = area.x(); | ||
714 | if (ty < area.y()) | 714 | if (ty < area.y()) | ||
715 | ty = area.y(); | 715 | ty = area.y(); | ||
716 | } | 716 | } | ||
717 | if (tx != x() || ty != y()) | 717 | if (tx != x() || ty != y()) | ||
718 | move(tx, ty); | 718 | move(tx, ty); | ||
719 | } | 719 | } | ||
720 | 720 | | |||
721 | /** | ||||
722 | * Returns the maximum client size, not the maximum frame size. | ||||
723 | */ | ||||
721 | QSize AbstractClient::maxSize() const | 724 | QSize AbstractClient::maxSize() const | ||
722 | { | 725 | { | ||
723 | return rules()->checkMaxSize(QSize(INT_MAX, INT_MAX)); | 726 | return rules()->checkMaxSize(QSize(INT_MAX, INT_MAX)); | ||
724 | } | 727 | } | ||
725 | 728 | | |||
729 | /** | ||||
730 | * Returns the minimum client size, not the minimum frame size. | ||||
731 | */ | ||||
726 | QSize AbstractClient::minSize() const | 732 | QSize AbstractClient::minSize() const | ||
727 | { | 733 | { | ||
728 | return rules()->checkMinSize(QSize(0, 0)); | 734 | return rules()->checkMinSize(QSize(0, 0)); | ||
729 | } | 735 | } | ||
730 | 736 | | |||
731 | void AbstractClient::blockGeometryUpdates(bool block) | 737 | void AbstractClient::blockGeometryUpdates(bool block) | ||
732 | { | 738 | { | ||
733 | if (block) { | 739 | if (block) { | ||
▲ Show 20 Lines • Show All 2516 Lines • Show Last 20 Lines |