Commit deea45b1 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

effects/windowview: allow closing windows with touch


(cherry picked from commit 13dd31d9)
parent a862ca0b
Pipeline #178887 failed with stage
in 1 minute and 7 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