set keepAbove for all Latte windows under wayland

pull/5/head
Michail Vourlakos 6 years ago
parent 37ca5f1663
commit 0bb2c14017

@ -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);

Loading…
Cancel
Save