diff --git a/qml/ControlDialog.qml b/qml/ControlDialog.qml index c7be1dd..c2168e0 100644 --- a/qml/ControlDialog.qml +++ b/qml/ControlDialog.qml @@ -44,7 +44,7 @@ ControlCenterDialog { // right if (posX + control.width > Screen.width) - posX = Screen.width - control.width - Meui.Units.largeSpacing + posX = Screen.width - control.width - (root.windowRadius ? Meui.Units.largeSpacing : 0) // bottom if (posY > control.height > Screen.width) diff --git a/src/xwindowinterface.cpp b/src/xwindowinterface.cpp index b44c508..8e76cd5 100644 --- a/src/xwindowinterface.cpp +++ b/src/xwindowinterface.cpp @@ -166,7 +166,7 @@ void XWindowInterface::setViewStruts(QWindow *view, DockSettings::Direction dire const int bottomOffset { wholeScreen.bottom() - currentScreen.bottom() }; strut.bottom_width = rect.height() + bottomOffset + (roundedWindow ? DockSettings::self()->edgeMargins() : 0); strut.bottom_start = rect.x(); - strut.bottom_end = rect.x() + rect.width(); + strut.bottom_end = rect.x() + rect.width() - 1; break; } default: