Skip to content
Commit 5942c13e authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

scripting: Fix registration of some types

We need to register data types such as QVector<KWin::VirtualDesktop *>
both for QML and JavaScript scripts.

If you have no JavaScript scripts enabled, those container types won't
be registered and QML will fail to read properties such as
Window.desktops, which can result in already visible windows animating
opacity from 0 to 1 when opening overview effect.

To fix that, register all accessible data types in scripting apis in
Scripting::init().
parent 99b2e607
Pipeline #333292 failed with stage
in 17 minutes and 14 seconds
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