Commit e0454299 authored by Marco Martin's avatar Marco Martin Committed by Vlad Zahorodnii
Browse files

fix windows dragging in desktop grid

Don't disable the main drag handler when canclosewindows is disabled,
that one is not used to close windows but to drag them on other desktops or screens

BUG: 455268
parent c7ba0a25
Pipeline #191898 passed with stage
in 23 minutes and 19 seconds
......@@ -396,8 +396,8 @@ FocusScope {
component DragManager : DragHandler {
id: dragHandler
enabled: heap.supportsCloseWindows
target: null
grabPermissions: PointerHandler.CanTakeOverFromHandlersOfSameType
readonly property double targetScale: {
if (!heap.supportsDragUpGesture) {
......@@ -432,6 +432,7 @@ FocusScope {
DragManager {
id: touchDragHandler
acceptedDevices: PointerDevice.TouchScreen
enabled: heap.supportsCloseWindows
readonly property double targetOpacity: {
if (!heap.supportsCloseWindows) {
return 1;
......
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