From 63c8a310d0698d2e343fadf69bbfbaf5ef4c8a1f Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 20 Aug 2016 18:59:01 +0200 Subject: [PATCH] doc: fix missing parenthesis with client examples (#1046) --- objects/client.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/objects/client.c b/objects/client.c index bb11ba171..ce81e9add 100644 --- a/objects/client.c +++ b/objects/client.c @@ -1,4 +1,4 @@ -/* +/* * client.c - client management * * Copyright © 2007-2009 Julien Danjou @@ -46,7 +46,7 @@ * context. To get the current focused client, use: * * local c = client.focus - * + * * if c then * -- do something * end @@ -61,20 +61,20 @@ * * client.connect_signal("manage", function(c) * -- do something - * end + * end) * * To be notified a property changed in a client, use: * * client.connect_signal("property::name", function(c) * -- do something - * end + * end) * * To be notified when a property change for a specific client (assuming it is * stored in the variable `c`), use: * * c:connect_signal("property::name", function() * -- do something - * end + * end) * * To get all the clients for a screen, use either `screen.clients` or * `screen.tiled_clients`