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 <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2018-11-21 12:51:19 +01:00
parent 2308509f39
commit c292b6709d
1 changed files with 5 additions and 3 deletions

View File

@ -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*