use physical screen

This commit is contained in:
Julien Danjou 2008-02-26 07:15:24 +01:00
parent f54ff424a0
commit b7d79d8bea
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ textbox_new(Statusbar *statusbar, cfg_t *config)
w->data = d = p_new(Data, 1); w->data = d = p_new(Data, 1);
if((buf = cfg_getstr(config, "fg"))) if((buf = cfg_getstr(config, "fg")))
draw_color_new(globalconf.display, statusbar->screen, buf, &d->fg); draw_color_new(globalconf.display, get_phys_screen(statusbar->screen), buf, &d->fg);
else else
d->fg = globalconf.screens[statusbar->screen].colors_normal[ColFG]; d->fg = globalconf.screens[statusbar->screen].colors_normal[ColFG];