Use Screens::geometry instead of displayWidth/Height in ScreenEdges
This commit is contained in:
parent
356510b0aa
commit
90e05c5798
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ void ScreenEdges::recreateEdges()
|
|||
{
|
||||
QList<Edge*> oldEdges(m_edges);
|
||||
m_edges.clear();
|
||||
const QRect fullArea(0, 0, displayWidth(), displayHeight());
|
||||
const QRect fullArea = screens()->geometry();
|
||||
QRegion processedRegion;
|
||||
for (int i=0; i<screens()->count(); ++i) {
|
||||
const QRegion screen = QRegion(screens()->geometry(i)).subtracted(processedRegion);
|
||||
|
|
Loading…
Reference in a new issue