head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2026.09.07.00.14.15; author gutteridge; state dead; branches; next 1.1; commitid rijvSwPfmnB6BCUG; 1.1 date 2026.08.28.03.56.08; author gutteridge; state Exp; branches; next ; commitid O4jNe2qSWSoP9mTG; desc @@ 1.2 log @pcmanfm-qt: reflect recent Plasma update Include the upstream change "Set desktop screen explicitly on Wayland" now that our Plasma is new enough to provide the API required. @ text @$NetBSD: patch-pcmanfm_desktopwindow.cpp,v 1.1 2026/08/28 03:56:08 gutteridge Exp $ Temporarily revert a Wayland-only change that requires a newer version of plasma6-layer-shell-qt than pkgsrc carries. --- pcmanfm/desktopwindow.cpp.orig 2026-08-26 15:41:04.000000000 +0000 +++ pcmanfm/desktopwindow.cpp @@@@ -214,16 +214,6 @@@@ DesktopWindow::DesktopWindow(int screenNum, const QStr layershell->setKeyboardInteractivity(LayerShellQt::Window::KeyboardInteractivityOnDemand); layershell->setExclusiveZone(-1); // not moved to accommodate for other surfaces layershell->setScope(QStringLiteral("desktop")); // just for distinguishing it - - auto screen = getDesktopScreen(); - if(screen != nullptr) { - win->setScreen(screen); - layershell->setWantsToBeOnActiveScreen(false); - layershell->setScreen(nullptr); - } - else { - layershell->setWantsToBeOnActiveScreen(true); - } } } } @ 1.1 log @pcmanfm-qt: update to 2.4.1 pkgsrc does not include the change "Set desktop screen explicitly on Wayland", since it requires a newer version of plasma6-layer-shell-qt than pkgsrc carries presently and Wayland isn't really supported yet. pcmanfm-qt-2.4.1 / 2026-08-26 ============================== * Close tabs without close buttons by middle clicking with Qt >= 6.11. * Workaround for a bad behavior of wlroots. * Removed the redundant translations CMake file. * Set desktop file name. * Removed `` from ui files. * Updated fsf address. @ text @d1 1 a1 1 $NetBSD$ @