Commit 226a0993 authored by Martin Flöser's avatar Martin Flöser

Move electricBorderMaximizeGeometry from Client to AbstractClient

As it's not used outside of Client the method is turned from public
to protected.
parent 32fbbc90
......@@ -519,6 +519,7 @@ protected:
QuickTileMode electricBorderMode() const {
return m_electricMode;
QRect electricBorderMaximizeGeometry(QPoint pos, int desktop);
void handlePaletteChange();
......@@ -295,7 +295,6 @@ public:
void resizeWithChecks(const QSize& s, xcb_gravity_t gravity, ForceGeometry_t force = NormalGeometrySet);
void setElectricBorderMaximizing(bool maximizing);
bool isElectricBorderMaximizing() const;
QRect electricBorderMaximizeGeometry(QPoint pos, int desktop);
QSize sizeForClientSize(const QSize&, Sizemode mode = SizemodeAny, bool noframe = false) const;
/** Set the quick tile mode ("snap") of this window.
......@@ -3204,7 +3204,7 @@ void Client::setElectricBorderMaximizing(bool maximizing)
QRect Client::electricBorderMaximizeGeometry(QPoint pos, int desktop)
QRect AbstractClient::electricBorderMaximizeGeometry(QPoint pos, int desktop)
if (electricBorderMode() == QuickTileMaximize) {
if (maximizeMode() == MaximizeFull)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment