Rename VirtScreen to screen_t

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-24 09:01:49 +02:00
parent 0bbd2d4b3e
commit 21ae849d9f
4 changed files with 6 additions and 6 deletions

View File

@ -385,7 +385,7 @@ main(int argc, char **argv)
/* init screens struct */ /* init screens struct */
globalconf.screens_info = screensinfo_new(globalconf.connection); 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); focus_client_push(NULL);
/* parse config */ /* parse config */

View File

@ -336,7 +336,7 @@ typedef struct
statusbar_t *statusbar; statusbar_t *statusbar;
/** Padding */ /** Padding */
Padding padding; Padding padding;
} VirtScreen; } screen_t;
/** Main configuration structure */ /** Main configuration structure */
typedef struct awesome_t awesome_t; typedef struct awesome_t awesome_t;
@ -351,7 +351,7 @@ struct awesome_t
/** Keys symbol table */ /** Keys symbol table */
xcb_key_symbols_t *keysyms; xcb_key_symbols_t *keysyms;
/** Logical screens */ /** Logical screens */
VirtScreen *screens; screen_t *screens;
/** Screens info */ /** Screens info */
screens_info_t *screens_info; screens_info_t *screens_info;
/** Keys bindings list */ /** Keys bindings list */

2
tag.c
View File

@ -168,7 +168,7 @@ void
tag_client_with_current_selected(client_t *c) tag_client_with_current_selected(client_t *c)
{ {
tag_t *tag; tag_t *tag;
VirtScreen vscreen = globalconf.screens[c->screen]; screen_t vscreen = globalconf.screens[c->screen];
for(tag = vscreen.tags; tag; tag = tag->next) for(tag = vscreen.tags; tag; tag = tag->next)
if(tag->selected) if(tag->selected)

View File

@ -121,7 +121,7 @@ taglist_draw(widget_node_t *w,
tag_t *tag; tag_t *tag;
taglist_data_t *data = w->widget->data; taglist_data_t *data = w->widget->data;
client_t *sel = globalconf.focus->client; 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; draw_context_t *ctx = statusbar->ctx;
int i = 0; int i = 0;
area_t *area, rectangle = { 0, 0, 0, 0, NULL, NULL }; 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, taglist_button_press(widget_node_t *w, statusbar_t *statusbar,
xcb_button_press_event_t *ev) xcb_button_press_event_t *ev)
{ {
VirtScreen *vscreen = &globalconf.screens[statusbar->screen]; screen_t *vscreen = &globalconf.screens[statusbar->screen];
button_t *b; button_t *b;
taglist_data_t *data = w->widget->data; taglist_data_t *data = w->widget->data;
taglist_drawn_area_t *tda; taglist_drawn_area_t *tda;