From 90e05c5798deeb054989563228bf3c8b396c7278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 23 Aug 2016 13:15:20 +0200 Subject: [PATCH] Use Screens::geometry instead of displayWidth/Height in ScreenEdges --- screenedge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenedge.cpp b/screenedge.cpp index 4566cf1859..149abeca56 100644 --- a/screenedge.cpp +++ b/screenedge.cpp @@ -790,7 +790,7 @@ void ScreenEdges::recreateEdges() { QList oldEdges(m_edges); m_edges.clear(); - const QRect fullArea(0, 0, displayWidth(), displayHeight()); + const QRect fullArea = screens()->geometry(); QRegion processedRegion; for (int i=0; icount(); ++i) { const QRegion screen = QRegion(screens()->geometry(i)).subtracted(processedRegion);