[aurorae] Mark the render QQuickWindow as frameless
ClosedPublic

Authored by graesslin on Jul 15 2017, 7:43 PM.

Details

Summary

On Wayland aurorae was creating a lot of stress for the system and
basically turning the system unusable in a short time. This was due to
a recursion starting to create OpenGL contexts. The window created a
decoration (aurorae) which created a QQuickWindow. For that KWin creates
an internal window which in turn triggers the creation of a window
decoration and so on and on.

By simply setting the render QQuickWindow as frameless we can prevent
this recursion.

Test Plan

Tested on Wayland and X11. On Wayland the recursion is gone.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Jul 15 2017, 7:43 PM
Restricted Application added a project: KWin. · View Herald TranscriptJul 15 2017, 7:43 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
mart accepted this revision.Jul 17 2017, 12:06 PM
This revision is now accepted and ready to land.Jul 17 2017, 12:06 PM
This revision was automatically updated to reflect the committed changes.