To get the complete list of active clients inside Xorg
Asked Answered
C

1

7

Could someone please point me to a place(PDF) where I can find the detail description about the Xserver(Xorg) e.g DIX Layer, OS Layer etc.

Specifically I am looking for how to get the complete list of all the active clients from inside the Xserver(Xorg). How does Xorg maintain this list? Whenever a new request arrives to Xorg, after accepting the connection where does it put information about that client?

Thanks

Cantrip answered 29/8, 2012 at 5:23 Comment(1)
Why do you ask? What do you want to achieve? You might use the xlsclients command.Nam
C
6

Run xlsclients.

http://cgit.freedesktop.org/xorg/app/xlsclients

Documentation about Xorg internals:

Still, reading the source code is usually the best way, since the documentation about Xserver internals is not updated regularly.

Crenate answered 20/9, 2012 at 17:16 Comment(1)
The xlsclients is simply llisting some properties (pieces of random data attached to windows) set on the top windows. It's completely worthless and unreliable.Danseur

© 2022 - 2024 — McMap. All rights reserved.