get the list of active windows in wayland weston

我怕爱的太早我们不能终老 提交于 2020-01-01 05:11:07

问题


How to get the list of active windows in wayland.. ie, in my window one terminal is active and a calculator is also active, I need to get the details of these windows in terminal , how can I get it ?


回答1:


Basically, you can't. The main idea of the Wayland protocol is that a client doesn't know anything about the rest of the world.

You can, however, modify your compositor so that it will record the information you need about every windows in it and use those informations at will. Modifying a compositor, however, is a bit complex for a SO answer (and beyond my knowledge) so I guess you'll have to look around for good tutorials.




回答2:


I wanted to use wayland with embedded systems, so using

Genivi ivi-layermanager

I am able to see the layers created and all details about the layers, Thanks for your support.



来源:https://stackoverflow.com/questions/26802683/get-the-list-of-active-windows-in-wayland-weston

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!