The old behavior before D28224 was (X + Y) instead of (X + X)

This commit is contained in:
Chris Holland 2020-06-22 12:55:37 -04:00 committed by Vlad Zahorodnii
parent e459c8bf54
commit e1b5fc9fac

View file

@ -727,7 +727,7 @@ ScreenEdges::ScreenEdges(QObject *parent)
, m_actionLeft(ElectricActionNone)
, m_gestureRecognizer(new GestureRecognizer(this))
{
m_cornerOffset = (Screens::self()->physicalDpiX(0) + Screens::self()->physicalDpiX(0) + 5) / 6;
m_cornerOffset = (Screens::self()->physicalDpiX(0) + Screens::self()->physicalDpiY(0) + 5) / 6;
connect(workspace(), &Workspace::clientRemoved, this, &ScreenEdges::deleteEdgeForClient);
}