remove get_current_tag() call
This commit is contained in:
parent
33add50256
commit
88b3f28f49
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue