diff --git a/autotests/integration/effects/scripted_effects_test.cpp b/autotests/integration/effects/scripted_effects_test.cpp --- a/autotests/integration/effects/scripted_effects_test.cpp +++ b/autotests/integration/effects/scripted_effects_test.cpp @@ -360,6 +360,7 @@ QTest::newRow("single") << "fullScreenEffectTest"; QTest::newRow("multi") << "fullScreenEffectTestMulti"; + QTest::newRow("global") << "fullScreenEffectTestGlobal"; } void ScriptedEffectsTest::testFullScreenEffect() diff --git a/autotests/integration/effects/scripts/fullScreenEffectTestGlobal.js b/autotests/integration/effects/scripts/fullScreenEffectTestGlobal.js new file mode 100644 --- /dev/null +++ b/autotests/integration/effects/scripts/fullScreenEffectTestGlobal.js @@ -0,0 +1,21 @@ +effects['desktopChanged(int,int)'].connect(function(old, current) { + var stackingOrder = effects.stackingOrder; + for (var i=0; i MetaTypeMap;