Add comments to some layout functions
This commit is contained in:
parent
3d8b7565d4
commit
b58631581b
7
layout.c
7
layout.c
|
@ -86,6 +86,9 @@ arrange(int screen)
|
||||||
globalconf.screens[screen].need_arrange = False;
|
globalconf.screens[screen].need_arrange = False;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Refresh the screen disposition
|
||||||
|
* \return true if the screen was arranged, false otherwise
|
||||||
|
*/
|
||||||
int
|
int
|
||||||
layout_refresh(void)
|
layout_refresh(void)
|
||||||
{
|
{
|
||||||
|
@ -102,6 +105,10 @@ layout_refresh(void)
|
||||||
return arranged;
|
return arranged;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Get current layout used on screen
|
||||||
|
* \param screen screen id
|
||||||
|
* \return layout used on that screen
|
||||||
|
*/
|
||||||
Layout *
|
Layout *
|
||||||
layout_get_current(int screen)
|
layout_get_current(int screen)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue