diff --git a/awesome.c b/awesome.c index 9a37b3fd8..98de54522 100644 --- a/awesome.c +++ b/awesome.c @@ -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 */ diff --git a/structs.h b/structs.h index 3e22a7520..d2cabddb5 100644 --- a/structs.h +++ b/structs.h @@ -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 */ diff --git a/tag.c b/tag.c index 5756ab69c..708db3c49 100644 --- a/tag.c +++ b/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) diff --git a/widgets/taglist.c b/widgets/taglist.c index 2512a3484..98859efbe 100644 --- a/widgets/taglist.c +++ b/widgets/taglist.c @@ -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;