From 88b3f28f49f756fd7dc0f2d08b233a19c71cdafd Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 27 Dec 2007 11:36:49 +0100 Subject: [PATCH] remove get_current_tag() call --- widgets/focustitle.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/widgets/focustitle.c b/widgets/focustitle.c index f73d8253..a63acb05 100644 --- a/widgets/focustitle.c +++ b/widgets/focustitle.c @@ -11,8 +11,7 @@ static int focustitle_draw(Widget *widget, DrawCtx *ctx, int offset, int used) { VirtScreen vscreen = globalconf.screens[widget->statusbar->screen]; - Client *sel = focus_get_latest_client_for_tag(widget->statusbar->screen, - get_current_tag(widget->statusbar->screen)); + Client *sel = globalconf.focus->client; widget->location = widget_calculate_offset(vscreen.statusbar->width, 0,