diff options
Diffstat (limited to 'examples/wayland/multi-output/qml/GridScreen.qml')
-rw-r--r-- | examples/wayland/multi-output/qml/GridScreen.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/wayland/multi-output/qml/GridScreen.qml b/examples/wayland/multi-output/qml/GridScreen.qml index 83f9c3206..e72937316 100644 --- a/examples/wayland/multi-output/qml/GridScreen.qml +++ b/examples/wayland/multi-output/qml/GridScreen.qml @@ -66,12 +66,17 @@ WaylandOutput { cellWidth: 200 cellHeight: 200 delegate: WaylandQuickItem { + id: item surface: gridSurface width: gridView.cellWidth height: gridView.cellHeight sizeFollowsSurface: false inputEventsEnabled: false view.discardFrontBuffers: true + MouseArea { + anchors.fill: parent + onClicked: item.surface.activated() + } } } } |