summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2013-09-22 11:08:17 +1000
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-01-01 14:49:15 -0800
commit43ade693674ac5828288f9a6e318d336a91b2cce (patch)
tree567889965759c2cf4295f22894135a45c1865074
parentaeb1f2dfaf90ecdfd38d3e431c6f0317793c51a6 (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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xrestop.c b/xrestop.c
index 6af2030..154bed6 100644
--- a/xrestop.c
+++ b/xrestop.c
@@ -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;
}