[screen] Rename Padding to padding_t
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
80ec848130
commit
fa08ec5316
16
screen.c
16
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;
|
||||
|
|
4
screen.h
4
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);
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue