From 0bb2c140170535fe4ee7c6e749d8cd6d8414306d Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 8 Mar 2019 19:51:29 +0200 Subject: [PATCH] set keepAbove for all Latte windows under wayland --- app/wm/waylandinterface.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/wm/waylandinterface.cpp b/app/wm/waylandinterface.cpp index 806cf51a9..95ec08129 100644 --- a/app/wm/waylandinterface.cpp +++ b/app/wm/waylandinterface.cpp @@ -430,6 +430,11 @@ bool WaylandInterface::isValidWindow(const KWayland::Client::PlasmaWindow *w) co void WaylandInterface::windowCreatedProxy(KWayland::Client::PlasmaWindow *w) { + //! all Latte related windows must be on KeepAbove state + if (w->appId()==QLatin1String("latte-dock") && !w->isKeepAbove()) { + w->requestToggleKeepAbove (); + } + if (!isValidWindow(w)) return; if (!mapper) mapper = new QSignalMapper(this);