From e7663e1ebdc6fba6a29df01c4474effd1781bf2f Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 27 Jul 2015 01:05:01 +0200 Subject: [PATCH] Some doc fixes --- objects/client.c | 8 ++++---- objects/drawable.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/objects/client.c b/objects/client.c index c88d7203..20931b15 100644 --- a/objects/client.c +++ b/objects/client.c @@ -91,8 +91,8 @@ * @field transient_for The client the window is transient for. * @field group_window Window identification unique to a group of windows. * @field leader_window Identification unique to windows spawned by the same command. - * @field size_hints A table with size hints of the client: user_position, - * user_size, program_position, program_size, etc. + * @field size_hints A table with size hints of the client: `user_position`, + * `user_size`, `program_position`, `program_size`, etc. * @field sticky Set the client sticky, i.e. available on all tags. * @field modal Indicate if the client is modal. * @field focusable True if the client can receive the input focus. @@ -1935,8 +1935,8 @@ HANDLE_TITLEBAR(left, CLIENT_TITLEBAR_LEFT) /** Return or set client geometry. * - * @param arg1 A table with new coordinates, or none. - * @return A table with client coordinates. + * @tparam table|nil geo A table with new coordinates, or nil. + * @treturn table A table with client geometry and coordinates. * @function geometry */ static int diff --git a/objects/drawable.c b/objects/drawable.c index dff780ec..a702efbe 100644 --- a/objects/drawable.c +++ b/objects/drawable.c @@ -144,7 +144,7 @@ luaA_drawable_refresh(lua_State *L) /** Get drawable geometry. The geometry consists of x, y, width and height. * - * @return A table with drawable coordinates and geometry. + * @treturn table A table with drawable coordinates and geometry. * @function geometry */ static int