Commit 02b683bb authored by Aleksi Suomalainen's avatar Aleksi Suomalainen

[homescreen] Kill application by swiping it down.

parent 3d12c955
......@@ -134,6 +134,9 @@ Compositor {
if (gestureArea.progress >= swipeThreshold) {
swipeAnimation.valueTo = inverted ? -max : max
swipeAnimation.start()
if (gestureArea.gesture == "down") {
Lipstick.compositor.closeClientForWindowId(topmostWindow.window.windowId)
}
} else {
cancelAnimation.start()
}
......
Markdown is supported
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