diff --git a/screen.c b/screen.c index c51b7be0..dee11b64 100644 --- a/screen.c +++ b/screen.c @@ -32,14 +32,14 @@ extern awesome_t globalconf; -/** Get screens info - * \param screen Screen number - * \param statusbar statusbar - * \param padding Padding - * \return area_t +/** Get screens info. + * \param screen Screen number. + * \param statusbar Statusbar list to remove. + * \param padding Padding. + * \return The screen area. */ area_t -screen_get_area(int screen, statusbar_t *statusbar, Padding *padding) +screen_get_area(int screen, statusbar_t *statusbar, padding_t *padding) { area_t area = globalconf.screens_info->geometry[screen]; statusbar_t *sb; @@ -77,10 +77,10 @@ screen_get_area(int screen, statusbar_t *statusbar, Padding *padding) * \param screen Physical screen number. * \param statusbar The statusbars. * \param padding Padding. - * \return area_t + * \return The display area. */ area_t -get_display_area(int phys_screen, statusbar_t *statusbar, Padding *padding) +get_display_area(int phys_screen, statusbar_t *statusbar, padding_t *padding) { area_t area = { 0, 0, 0, 0, NULL, NULL }; statusbar_t *sb; diff --git a/screen.h b/screen.h index 70bfea59..ec404616 100644 --- a/screen.h +++ b/screen.h @@ -24,8 +24,8 @@ #include "structs.h" -area_t screen_get_area(int, statusbar_t *, Padding *); -area_t get_display_area(int, statusbar_t *, Padding *); +area_t screen_get_area(int, statusbar_t *, padding_t *); +area_t get_display_area(int, statusbar_t *, padding_t *); int screen_virttophys(int); void move_client_to_screen(client_t *, int, bool); diff --git a/structs.h b/structs.h index 71960181..8dec9f35 100644 --- a/structs.h +++ b/structs.h @@ -339,7 +339,7 @@ typedef struct int left; /** Padding at right */ int right; -} Padding; +} padding_t; typedef struct { @@ -350,7 +350,7 @@ typedef struct /** Status bar */ statusbar_t *statusbar; /** Padding */ - Padding padding; + padding_t padding; } screen_t; /** Main configuration structure */