From fcdc17dd936e90931013091d3d50d503fcfda5ae Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 12 Sep 2025 08:08:39 +0200 Subject: [PATCH] dead pixel workaround: also for bottom edge --- .config/quickshell/ii/modules/bar/Bar.qml | 4 +++- .config/quickshell/ii/modules/screenCorners/ScreenCorners.qml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/quickshell/ii/modules/bar/Bar.qml b/.config/quickshell/ii/modules/bar/Bar.qml index 71852e3c..f23c7eb9 100644 --- a/.config/quickshell/ii/modules/bar/Bar.qml +++ b/.config/quickshell/ii/modules/bar/Bar.qml @@ -77,6 +77,7 @@ Scope { margins { right: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.right) * -1 + bottom: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.bottom) * -1 } MouseArea { @@ -85,6 +86,7 @@ Scope { anchors { fill: parent rightMargin: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.right) * 1 + bottomMargin: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.bottom) * 1 } Item { @@ -106,7 +108,7 @@ Scope { top: parent.top bottom: undefined topMargin: (Config?.options.bar.autoHide.enable && !mustShow) ? -Appearance.sizes.barHeight : 0 - bottomMargin: 0 + bottomMargin: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.bottom) * -1 rightMargin: (Config.options.interactions.deadPixelWorkaround.enable && barRoot.anchors.right) * -1 } Behavior on anchors.topMargin { diff --git a/.config/quickshell/ii/modules/screenCorners/ScreenCorners.qml b/.config/quickshell/ii/modules/screenCorners/ScreenCorners.qml index 92b8627a..cc5734ab 100644 --- a/.config/quickshell/ii/modules/screenCorners/ScreenCorners.qml +++ b/.config/quickshell/ii/modules/screenCorners/ScreenCorners.qml @@ -43,6 +43,7 @@ Scope { } margins { right: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.right) * -1 + bottom: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.bottom) * -1 } implicitWidth: cornerWidget.implicitWidth @@ -53,6 +54,7 @@ Scope { anchors.fill: parent corner: cornerPanelWindow.corner rightVisualMargin: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.right) * 1 + bottomVisualMargin: (Config.options.interactions.deadPixelWorkaround.enable && cornerPanelWindow.anchors.bottom) * 1 implicitSize: Appearance.rounding.screenRounding implicitHeight: Math.max(implicitSize, sidebarCornerOpenInteractionLoader.implicitHeight)