diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-08-05 15:08:54 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-08-05 16:55:44 +0200 |
commit | ca3ef39738daca07466e139a3dc684e4c10df5db (patch) | |
tree | 5c0e92747d1125f0206f82263cd4c64b68f6aba2 /Makefile.am | |
parent | d8267b3d67c517c31db35982409c2f1289cf1936 (diff) | |
download | xscope-ca3ef39738daca07466e139a3dc684e4c10df5db.tar.gz |
Add support for process ID and namespeerinfo
Adds the process ID and name of the other side. Useful if you have
multiple clients. Support for OpenBSD could be added in theory since
it has a similar "struct sockpeercred" structure (not sure about
process name though).
After this change, the process ID and name (when available) will be
appended between parentheses:
0.01: Client (pid 23433 xdpyinfo) --> 4 bytes
............REQUEST: ListExtensions
0.01: 332 bytes <-- X11 Server (pid 8290 Xorg)
..............REPLY: ListExtensions
names: (29)
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 8a61eaf..5b4a3fd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -48,6 +48,7 @@ xscope_SOURCES = \ glxscope.h \ lbxscope.h \ nas.h \ + peerinfo.c \ print11.c \ print_bigreq.c \ print_glx.c \ |