DesktopStage: swiping from right edge shows window spread
commit559f32eb6fc56239339cfb85554b944c2dfea298
authorDaniel d'Andrada <daniel.dandrada@canonical.com>
dateThu 26 Nov 2015, 11:34 (11 years ago)
parent44f36b7
qml/Stages/DesktopStage.qml+7
@@ -499,6 +499,13 @@ AbstractStage {
499499 }
500500 }
501501
502+ DirectionalDragArea {
503+ direction: Direction.Leftwards
504+ anchors { top: parent.top; right: parent.right; bottom: parent.bottom }
505+ width: units.gu(1)
506+ onDraggingChanged: { if (dragging) { spread.show(); } }
507+ }
508+
502509 DesktopSpread {
503510 id: spread
504511 objectName: "spread"