Skip to content
Commit bb822a33 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

ScreenPool: Ensure that primaryScreenChanged is emitted always after screenAdded

On Wayland, the primary screen notification and
QGuiApplication::screenAdded signals are desync. The primary output
watcher addresses that by emitting its primaryOutputNameChanged() signal
when the corresponding QGuiApplication::screenAdded() signal is emitted.

However, since the primary output watcher processes the screenAdded
signal before ScreenPool, it can emit the
ScreenPool::primaryScreenChanged signal before ScreenPool::screenAdded
signal that can confuse the ShellCorona.
parent d2e3f679
Pipeline #217136 passed with stage
in 8 minutes and 54 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