Skip to content
Commit 40364d2e 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


(cherry picked from commit b40c4e3f)
parent 6dcf73ad
Loading
Loading
Loading
Pipeline #161391 passed with stage
in 5 minutes and 20 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