1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 14:50:21 +03:00

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
This commit is contained in:
Michail Vourlakos 2017-03-29 14:32:32 +03:00
parent 5cb24c1201
commit fd3a719db0

View File

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