client: document and rename size_hints
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
44fc8fa51c
commit
bb05a3809a
4
client.c
4
client.c
|
@ -1362,6 +1362,8 @@ luaA_client_newindex(lua_State *L)
|
||||||
* \lfield ontop The client is on top of every other windows.
|
* \lfield ontop The client is on top of every other windows.
|
||||||
* \lfield fullscreen The client is fullscreen or not.
|
* \lfield fullscreen The client is fullscreen or not.
|
||||||
* \lfield transient_for Return the client the window is transient for.
|
* \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
|
static int
|
||||||
luaA_client_index(lua_State *L)
|
luaA_client_index(lua_State *L)
|
||||||
|
@ -1508,7 +1510,7 @@ luaA_client_index(lua_State *L)
|
||||||
case A_TK_URGENT:
|
case A_TK_URGENT:
|
||||||
lua_pushboolean(L, (*c)->isurgent);
|
lua_pushboolean(L, (*c)->isurgent);
|
||||||
break;
|
break;
|
||||||
case A_TK_SIZEHINTS:
|
case A_TK_SIZE_HINTS:
|
||||||
lua_newtable(L);
|
lua_newtable(L);
|
||||||
lua_pushboolean(L, (*c)->size_hints.flags & XCB_SIZE_HINT_US_POSITION);
|
lua_pushboolean(L, (*c)->size_hints.flags & XCB_SIZE_HINT_US_POSITION);
|
||||||
lua_setfield(L, -2, "user_position");
|
lua_setfield(L, -2, "user_position");
|
||||||
|
|
|
@ -76,7 +76,7 @@ shadow
|
||||||
shadow_offset
|
shadow_offset
|
||||||
Shift
|
Shift
|
||||||
show_icons
|
show_icons
|
||||||
sizehints
|
size_hints
|
||||||
skip_taskbar
|
skip_taskbar
|
||||||
south
|
south
|
||||||
start
|
start
|
||||||
|
|
Loading…
Reference in New Issue