doc: fix missing parenthesis with client examples (#1046)

This commit is contained in:
Daniel Hahler 2016-08-20 18:59:01 +02:00 committed by GitHub
parent e723d183e8
commit 63c8a310d0
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* /*
* client.c - client management * client.c - client management
* *
* Copyright © 2007-2009 Julien Danjou <julien@danjou.info> * Copyright © 2007-2009 Julien Danjou <julien@danjou.info>
@ -46,7 +46,7 @@
* context. To get the current focused client, use: * context. To get the current focused client, use:
* *
* local c = client.focus * local c = client.focus
* *
* if c then * if c then
* -- do something * -- do something
* end * end
@ -61,20 +61,20 @@
* *
* client.connect_signal("manage", function(c) * client.connect_signal("manage", function(c)
* -- do something * -- do something
* end * end)
* *
* To be notified a property changed in a client, use: * To be notified a property changed in a client, use:
* *
* client.connect_signal("property::name", function(c) * client.connect_signal("property::name", function(c)
* -- do something * -- do something
* end * end)
* *
* To be notified when a property change for a specific client (assuming it is * To be notified when a property change for a specific client (assuming it is
* stored in the variable `c`), use: * stored in the variable `c`), use:
* *
* c:connect_signal("property::name", function() * c:connect_signal("property::name", function()
* -- do something * -- do something
* end * end)
* *
* To get all the clients for a screen, use either `screen.clients` or * To get all the clients for a screen, use either `screen.clients` or
* `screen.tiled_clients` * `screen.tiled_clients`