Merge pull request #1519 from sudo-nice/master

doc: reflect the actual way to get client object
This commit is contained in:
Emmanuel Lepage Vallée 2017-02-03 12:23:37 -05:00 committed by GitHub
commit 7adc825a40
1 changed files with 7 additions and 0 deletions

View File

@ -354,4 +354,11 @@ now access tags by name.
- -- properties = { tag = tags[1][2] } }, - -- properties = { tag = tags[1][2] } },
+ -- properties = { screen = 1, tag = "2" } }, + -- properties = { screen = 1, tag = "2" } },
If you need to get the current client object in global context, currently you can use
`client.focus` for it. E.g., to mark/unmark the client:
- awful.client.mark()
+ client.focus.marked = true
- awful.client.unmark()
+ client.focus.marked = false