Skip to content
Commit 5326134f authored by David Edmundson's avatar David Edmundson
Browse files

Don't commit the wl_surface from outside Qt code

Plasma code calling wl_surface::commit outside of Qt's knowledge is
bound to lead to errors. We're going to cause kwin to configure a
surface before Qt has sent initial properties. Potentially causing
protocol violations.

This has the added benefit of blur and sliding being synced to the frame
correctly.

It does mean a user calling enableBlur/slide/backgroundContrast should
trigger a repaint in their code, but in all instances this happens
anyway.
parent 8339cba1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment