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

Simplify code that announces available modes and current mode

If no mode has the current flag set, the first mode object will be
announced twice.

There's also no benefit from sending the current mode as last. If the
current mode changes, the compositor will send the current_mode event,
not the mode event.

BUG: 452318
parent 33df55c5
Loading
Loading
Loading
Pipeline #161390 passed with stage
in 3 minutes and 14 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment