remove get_current_tag() call

This commit is contained in:
Julien Danjou 2007-12-27 11:36:49 +01:00
parent 33add50256
commit 88b3f28f49
1 changed files with 1 additions and 2 deletions

View File

@ -11,8 +11,7 @@ static int
focustitle_draw(Widget *widget, DrawCtx *ctx, int offset, int used) focustitle_draw(Widget *widget, DrawCtx *ctx, int offset, int used)
{ {
VirtScreen vscreen = globalconf.screens[widget->statusbar->screen]; VirtScreen vscreen = globalconf.screens[widget->statusbar->screen];
Client *sel = focus_get_latest_client_for_tag(widget->statusbar->screen, Client *sel = globalconf.focus->client;
get_current_tag(widget->statusbar->screen));
widget->location = widget_calculate_offset(vscreen.statusbar->width, widget->location = widget_calculate_offset(vscreen.statusbar->width,
0, 0,