Commit ad6d8026 authored by Julius Zint's avatar Julius Zint Committed by David Edmundson
Browse files

Adapt to Layer Shell Qt API change

The Layer Shell Qt library is updated to match its API more closely to
the protocol. It is now possible, or rather required if the behavior
should not change, to specify a desired output for a LayerShell window.
parent c0503225
Pipeline #131889 passed with stage
in 3 minutes and 7 seconds
......@@ -380,6 +380,7 @@ KQuickAddons::QuickViewSharedEngine *UnlockApp::createViewForScreen(QScreen *scr
if (auto layerShellWindow = LayerShellQt::Window::get(view)) {
layerShellWindow->setExclusiveZone(-1);
layerShellWindow->setLayer(LayerShellQt::Window::LayerOverlay);
layerShellWindow->setDesiredOutput(screen);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment