From c292b6709d075a0c8a6bdf078076bbec6575c7a9 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 21 Nov 2018 12:51:19 +0100 Subject: [PATCH] Improve docs for client class and instance No idea what "If the client has multiple classes" is supposed to refer to, but this commit gets rid of that reference. Also, this commit clarifies how to get the class and instance out of xprop. Signed-off-by: Uli Schlachter --- objects/client.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/objects/client.c b/objects/client.c index 2144c3c5e..8541b415f 100644 --- a/objects/client.c +++ b/objects/client.c @@ -324,9 +324,8 @@ /** * The client class. * - * If the client has multiple classes, the first one is used. - * - * To get a client class from the command line, use the `xprop` command. + * To get a client class from the command line, use the command `xprop + * WM_CLASS`. The class will be the second string. * * **Signal:** * @@ -339,6 +338,9 @@ /** * The client instance. * + * To get a client instance from the command line, use the command `xprop + * WM_CLASS`. The instance will be the first string. + * * **Signal:** * * * *property::instance*