diff options
author | Kevin Ryde <user42@zip.com.au> | 2013-09-22 11:08:17 +1000 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-01-01 14:49:15 -0800 |
commit | 43ade693674ac5828288f9a6e318d336a91b2cce (patch) | |
tree | 567889965759c2cf4295f22894135a45c1865074 | |
parent | aeb1f2dfaf90ecdfd38d3e431c6f0317793c51a6 (diff) |
In xrestop_client_get_info() show xrestop's own pid.
https://gitlab.freedesktop.org/xorg/app/xrestop/issues/1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xrestop.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -385,6 +385,7 @@ xrestop_client_get_info(XResTopApp *app, XResTopClient *client) == (app->win_dummy & ~client->resource_mask) ) { client->identifier = strdup("xrestop"); + client->pid = getpid(); return; } |