kwin/autotests/integration/scripting/scripts/screenedge.js
Martin Gräßlin 17abac9db3 [autotest/integration] Add a test case for screenedge usage in Scripts
A new sub-directory scripting is added in autotests/integration to
gather all test cases related to scripting.

The first added test case verifies the activation of screen edges. For
that it loads a helper script, which reserves an edge based on config.
When the edge is triggered showing desktop is activated.
2016-08-02 09:12:57 +02:00

1 line
94 B
JavaScript

registerScreenEdge(readConfig("Edge", 1), function() { workspace.slotToggleShowDesktop(); });