Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

get the list of active windows in wayland weston

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 ?

like image 977
Akhil V Suku Avatar asked Nov 07 '14 13:11

Akhil V Suku


2 Answers

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.

like image 63
PatJ Avatar answered Dec 09 '22 10:12

PatJ


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.

like image 23
Akhil V Suku Avatar answered Dec 09 '22 12:12

Akhil V Suku