Commit 13dd31d9 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

effects/windowview: allow closing windows with touch

parent e23c3a69
Pipeline #178880 passed with stage
in 34 minutes and 27 seconds
......@@ -335,7 +335,7 @@ FocusScope {
component DragManager : DragHandler {
id: dragHandler
enabled: heap.dragEnabled
enabled: heap.dragEnabled || heap.supportsCloseWindows
target: null
readonly property double targetScale: {
......@@ -365,6 +365,7 @@ FocusScope {
id: dragHandler
readonly property double targetOpacity: 1
acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad | PointerDevice.Stylus
enabled: heap.dragEnabled
}
DragManager {
id: touchDragHandler
......
Supports Markdown
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