Rename VirtScreen to screen_t
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
0bbd2d4b3e
commit
21ae849d9f
|
@ -385,7 +385,7 @@ main(int argc, char **argv)
|
|||
|
||||
/* init screens struct */
|
||||
globalconf.screens_info = screensinfo_new(globalconf.connection);
|
||||
globalconf.screens = p_new(VirtScreen, globalconf.screens_info->nscreen);
|
||||
globalconf.screens = p_new(screen_t, globalconf.screens_info->nscreen);
|
||||
focus_client_push(NULL);
|
||||
|
||||
/* parse config */
|
||||
|
|
|
@ -336,7 +336,7 @@ typedef struct
|
|||
statusbar_t *statusbar;
|
||||
/** Padding */
|
||||
Padding padding;
|
||||
} VirtScreen;
|
||||
} screen_t;
|
||||
|
||||
/** Main configuration structure */
|
||||
typedef struct awesome_t awesome_t;
|
||||
|
@ -351,7 +351,7 @@ struct awesome_t
|
|||
/** Keys symbol table */
|
||||
xcb_key_symbols_t *keysyms;
|
||||
/** Logical screens */
|
||||
VirtScreen *screens;
|
||||
screen_t *screens;
|
||||
/** Screens info */
|
||||
screens_info_t *screens_info;
|
||||
/** Keys bindings list */
|
||||
|
|
2
tag.c
2
tag.c
|
@ -168,7 +168,7 @@ void
|
|||
tag_client_with_current_selected(client_t *c)
|
||||
{
|
||||
tag_t *tag;
|
||||
VirtScreen vscreen = globalconf.screens[c->screen];
|
||||
screen_t vscreen = globalconf.screens[c->screen];
|
||||
|
||||
for(tag = vscreen.tags; tag; tag = tag->next)
|
||||
if(tag->selected)
|
||||
|
|
|
@ -121,7 +121,7 @@ taglist_draw(widget_node_t *w,
|
|||
tag_t *tag;
|
||||
taglist_data_t *data = w->widget->data;
|
||||
client_t *sel = globalconf.focus->client;
|
||||
VirtScreen *vscreen = &globalconf.screens[statusbar->screen];
|
||||
screen_t *vscreen = &globalconf.screens[statusbar->screen];
|
||||
draw_context_t *ctx = statusbar->ctx;
|
||||
int i = 0;
|
||||
area_t *area, rectangle = { 0, 0, 0, 0, NULL, NULL };
|
||||
|
@ -191,7 +191,7 @@ static void
|
|||
taglist_button_press(widget_node_t *w, statusbar_t *statusbar,
|
||||
xcb_button_press_event_t *ev)
|
||||
{
|
||||
VirtScreen *vscreen = &globalconf.screens[statusbar->screen];
|
||||
screen_t *vscreen = &globalconf.screens[statusbar->screen];
|
||||
button_t *b;
|
||||
taglist_data_t *data = w->widget->data;
|
||||
taglist_drawn_area_t *tda;
|
||||
|
|
Loading…
Reference in New Issue