diff options
Diffstat (limited to 'kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch')
-rw-r--r-- | kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch deleted file mode 100644 index ef94ed3afa00..000000000000 --- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 9c7ac7061c5c85d63875eaee70793ba04334c1d0 Mon Sep 17 00:00:00 2001 -From: Fushan Wen <qydwhotmail@gmail.com> -Date: Fri, 16 Sep 2022 14:34:27 +0000 -Subject: [PATCH] Revert "Revert "Prevent panel going out of screen - boundaries"" - -This reverts commit 17774bc4c673294a7c8a6e80660d83cce1ba8891 - -There is still a known culprit (duplicate display names) so the hack shouldn't be reverted. - -CCBUG: 353975 -CCBUG: 438114 ---- a/shell/panelview.cpp -+++ b/shell/panelview.cpp -@@ -859,6 +859,9 @@ void PanelView::moveEvent(QMoveEvent *ev) - updateEnabledBorders(); - m_strutsTimer.start(STRUTSTIMERDELAY); - PlasmaQuick::ContainmentView::moveEvent(ev); -+ if (m_screenToFollow && !m_screenToFollow->geometry().contains(geometry())) { -+ positionPanel(); -+ } - } - - void PanelView::keyPressEvent(QKeyEvent *event) -GitLab |