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:
parent
5cb24c1201
commit
fd3a719db0
@ -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…
x
Reference in New Issue
Block a user