Code review comment for lp://staging/~nick-dedekind/qtmir/multiwindow.screenwindow

Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

> /me not sure why PlatformScreen better name than just Screen.
>
> This also allows multiple windows to be associated with each screen, where
> before a single window (i.e. compositor) had a single screen. What does this
> mean now? If a screen has 2 windows, what one is rendered?
>
> Or is it just an intermediary state while Qt is adjusting to a screen being
> removed?

It's just intermediary, but for adding screens.
When we first create a Window for a new screen from the model it gets created on the qGuiApp::primaryScreen (by Qt). We then update it to the second screen from the qml binding.

« Back to merge proposal