From 0c8910d1dfa6892688b56886dea69b8b7581ba10 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 30 May 2008 16:15:07 +0200 Subject: [PATCH] [screen] Fix documentation Signed-off-by: Julien Danjou --- screen.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/screen.c b/screen.c index a124cf78c..c51b7be0a 100644 --- a/screen.c +++ b/screen.c @@ -73,18 +73,18 @@ screen_get_area(int screen, statusbar_t *statusbar, Padding *padding) return area; } -/** Get display info - * \param screen Screen number - * \param statusbar the statusbar - * \param padding Padding +/** Get display info. + * \param screen Physical screen number. + * \param statusbar The statusbars. + * \param padding Padding. * \return 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 }; 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.height = s->height_in_pixels;