Remove the AreaBasedEdge class
No difference to Edge.
This commit is contained in:
parent
8eab26c577
commit
80995fc205
2 changed files with 1 additions and 20 deletions
|
@ -584,17 +584,6 @@ void WindowBasedEdge::doUpdateBlocking()
|
||||||
m_approachWindow.map();
|
m_approachWindow.map();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**********************************************************
|
|
||||||
* AreaBasedEdge
|
|
||||||
*********************************************************/
|
|
||||||
AreaBasedEdge::AreaBasedEdge(ScreenEdges* parent)
|
|
||||||
: Edge(parent)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
AreaBasedEdge::~AreaBasedEdge()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/**********************************************************
|
/**********************************************************
|
||||||
* ScreenEdges
|
* ScreenEdges
|
||||||
|
@ -952,7 +941,7 @@ Edge *ScreenEdges::createEdge(ElectricBorder border, int x, int y, int width, in
|
||||||
if (kwinApp()->operationMode() == Application::OperationModeX11) {
|
if (kwinApp()->operationMode() == Application::OperationModeX11) {
|
||||||
edge = new WindowBasedEdge(this);
|
edge = new WindowBasedEdge(this);
|
||||||
} else {
|
} else {
|
||||||
edge = new AreaBasedEdge(this);
|
edge = new Edge(this);
|
||||||
}
|
}
|
||||||
edge->setBorder(border);
|
edge->setBorder(border);
|
||||||
edge->setGeometry(QRect(x, y, width, height));
|
edge->setGeometry(QRect(x, y, width, height));
|
||||||
|
|
|
@ -148,14 +148,6 @@ private:
|
||||||
Xcb::Window m_approachWindow;
|
Xcb::Window m_approachWindow;
|
||||||
};
|
};
|
||||||
|
|
||||||
class AreaBasedEdge : public Edge
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
public:
|
|
||||||
explicit AreaBasedEdge(ScreenEdges *parent);
|
|
||||||
virtual ~AreaBasedEdge();
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @short Class for controlling screen edges.
|
* @short Class for controlling screen edges.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue