How to get the child items of the client(qquickwaylanditem) from/on the wayland server (QWaylandCompositor)
-
I have crated a wayland server and client in qml. My client is an QQuickItem and it has some other items on the surface. When the surface is mapped to the server, I will create a QWaylandClient having the mapped surface as a surface.
I tried to get the elements (childrens) of the QWaylandClient on the client side, and I am able to get them as it is a QQuickItem.
But, I have planned to get the same details (childrens) of the QWaylandClient from the QWayland Server. But not able to get all the items of the client.
When I try to get the details of the app, I am getting only the client details and not the child/other components available in the client.
Is there any way to get the complete details of the childrens of the QWaylandClient from the server (QWaylandCompositor)
Any suggestion for getting the child elements, so that I can get which element is having the current focus and its co-ordinates