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
This commit is contained in:
parent
c7ba0a2567
commit
e04542995e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue