https://bugs.kde.org/show_bug.cgi?id=516452

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/67f175bb95
                   |                            |9bb30b69ce4a989a7d9d5c599d6
                   |                            |f62

--- Comment #5 from Vlad Zahorodnii <[email protected]> ---
Git commit 67f175bb959bb30b69ce4a989a7d9d5c599d6f62 by Vlad Zahorodnii.
Committed on 02/03/2026 at 16:33.
Pushed by vladz into branch 'master'.

backends/drm: Fix crash in OutputDeviceV2Interface::updateModes()

When the custom modes change, the corresponding OutputMode objects will
be recreated. If the current mode is a custom mode, it will be gone too.

DrmOutput::queueChanges() needs to ensure that the currentMode is still
listed in the modes list, otherwise other kwin components can start
hitting into an unexpected output state. For example, the
OutputDeviceV2Interface expects that the current mode is guaranteed to
be included in the BackendOutput::modes() list.

M  +22   -24   src/backends/drm/drm_output.cpp
M  +1    -2    src/backends/drm/drm_output.h

https://invent.kde.org/plasma/kwin/-/commit/67f175bb959bb30b69ce4a989a7d9d5c599d6f62

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to