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
pull/1/head
Michail Vourlakos 8 years ago
parent c486c1af4d
commit 761f088ea6

@ -74,6 +74,8 @@ DockView::DockView(Plasma::Corona *corona, QScreen *targetScreen, bool alwaysVis
| Qt::WindowDoesNotAcceptFocus);
}
KWindowSystem::setOnAllDesktops(winId(), true);
if (targetScreen)
setScreenToFollow(targetScreen);
else

Loading…
Cancel
Save