Qt Wayland Compositor Examples - Multi Screen

Multi Screen is a desktop-style Wayland compositor for multiple screens.

Multi-screen is a desktop-style Wayland compositor example for multiple screens.

When a client creates a shell surface, one ShellSurfaceItem is created on each screen. The ShellSurfaceItem will be visible only on one (or two) screens at a time. ShellSurfaceItem positions are synchronized so that when windows enter one screen they are moved off another at the same time.

WaylandQuickItem::setPrimary() is called at appropriate times to set the primary view for the ShellSurface, which is used when the client asks to be maximized or fullscreen.

Example project @ code.qt.io

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.