client: document and rename size_hints

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-12 15:43:33 +01:00
parent 44fc8fa51c
commit bb05a3809a
2 changed files with 4 additions and 2 deletions

View File

@ -1362,6 +1362,8 @@ luaA_client_newindex(lua_State *L)
* \lfield ontop The client is on top of every other windows.
* \lfield fullscreen The client is fullscreen or not.
* \lfield transient_for Return the client the window is transient for.
* \lfield size_hints A table with size hints of the client: user_position,
* user_size, program_position and program_size.
*/
static int
luaA_client_index(lua_State *L)
@ -1508,7 +1510,7 @@ luaA_client_index(lua_State *L)
case A_TK_URGENT:
lua_pushboolean(L, (*c)->isurgent);
break;
case A_TK_SIZEHINTS:
case A_TK_SIZE_HINTS:
lua_newtable(L);
lua_pushboolean(L, (*c)->size_hints.flags & XCB_SIZE_HINT_US_POSITION);
lua_setfield(L, -2, "user_position");

View File

@ -76,7 +76,7 @@ shadow
shadow_offset
Shift
show_icons
sizehints
size_hints
skip_taskbar
south
start