Skip to content
Commit ddc4aead authored by Fabian Vogt's avatar Fabian Vogt
Browse files

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.

(cherry picked from commit 3c85e2e8)
parent 7a862bdc
Pipeline #337493 passed with stage
in 1 minute and 12 seconds
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