[screen] Fix documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
51b0a5e20c
commit
0c8910d1df
12
screen.c
12
screen.c
|
@ -73,18 +73,18 @@ screen_get_area(int screen, statusbar_t *statusbar, Padding *padding)
|
||||||
return area;
|
return area;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get display info
|
/** Get display info.
|
||||||
* \param screen Screen number
|
* \param screen Physical screen number.
|
||||||
* \param statusbar the statusbar
|
* \param statusbar The statusbars.
|
||||||
* \param padding Padding
|
* \param padding Padding.
|
||||||
* \return area_t
|
* \return area_t
|
||||||
*/
|
*/
|
||||||
area_t
|
area_t
|
||||||
get_display_area(int screen, statusbar_t *statusbar, Padding *padding)
|
get_display_area(int phys_screen, statusbar_t *statusbar, Padding *padding)
|
||||||
{
|
{
|
||||||
area_t area = { 0, 0, 0, 0, NULL, NULL };
|
area_t area = { 0, 0, 0, 0, NULL, NULL };
|
||||||
statusbar_t *sb;
|
statusbar_t *sb;
|
||||||
xcb_screen_t *s = xcb_aux_get_screen(globalconf.connection, screen);
|
xcb_screen_t *s = xcb_aux_get_screen(globalconf.connection, phys_screen);
|
||||||
|
|
||||||
area.width = s->width_in_pixels;
|
area.width = s->width_in_pixels;
|
||||||
area.height = s->height_in_pixels;
|
area.height = s->height_in_pixels;
|
||||||
|
|
Loading…
Reference in New Issue