From fd3a719db09b1e0850cfabde51ccb314aec1ac3b Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Wed, 29 Mar 2017 14:32:32 +0300 Subject: [PATCH] fix #331,set onAllDesktops early in the process --the delay during creating dockview and setting its dock window flags from visibilitymanager creates a situation that the window manager temporary creates a normal window with no special flags for the docks --- app/dockview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/dockview.cpp b/app/dockview.cpp index e5a65b100..7a2678b78 100644 --- a/app/dockview.cpp +++ b/app/dockview.cpp @@ -74,6 +74,8 @@ DockView::DockView(Plasma::Corona *corona, QScreen *targetScreen, bool alwaysVis | Qt::WindowDoesNotAcceptFocus); } + KWindowSystem::setOnAllDesktops(winId(), true); + if (targetScreen) setScreenToFollow(targetScreen); else