Skip to content

Use the QScreen of the QWindow as default output

Fabian Vogt requested to merge work/fvogt/fallbackscreen into master

Use the QScreen of the QWindow as default output

If the Window::setDesiredOutput API was not called for the QWindow, use QWindow::screen(). This allows assigning QWindows to specific screens using the plain Qt API.

Passing nullptr to Window::setDesiredOutput explicitly results in nil as desired output for the layer, which lets the compositor select a screen.

Fixes https://github.com/sddm/sddm/pull/1673.

Edited by Fabian Vogt

Merge request reports

Loading