My KWIN fork where I work on features like per-output virtual desktops
Find a file
Vlad Zahorodnii 91f883f5ca 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
2022-04-08 15:56:17 +03:00
src/wayland Simplify code that announces available modes and current mode 2022-04-08 15:56:17 +03:00