Skip to content

Fix broken Aurorae decorations on Wayland & Nvidia

Aurorae uses the EffectQuickView class to draw the window decorations. EffectQuickView acquires an OffscreenSurface, relying on configFromFormat to select an appropriate EGLConfig. The configFromFormat function selects the first available EGLConfig which doesn't necessarily match the attributes of the surface. This turns out to break all window decorations on Wayland:

before after

(before/after)

This MR fixes the issue by selecting a matching EGLConfig from all available configs. Note: This is my first contribution to KDE so please bear with me :)

CCBUG: 438399

Merge request reports

Loading