mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-05 20:26:09 +01:00
update titleinfo with the right window
This commit is contained in:
parent
48ac631f41
commit
077ffb5b43
1 changed files with 5 additions and 2 deletions
|
@ -1,15 +1,18 @@
|
|||
#include <stdio.h>
|
||||
#include "util.h"
|
||||
#include "widget.h"
|
||||
|
||||
#include "layout.h"
|
||||
#include "focus.h"
|
||||
|
||||
extern awesome_config globalconf;
|
||||
|
||||
static int
|
||||
focustitle_draw(Widget *widget, DrawCtx *ctx, int offset, int used)
|
||||
{
|
||||
Client *sel = globalconf.focus->client;
|
||||
VirtScreen vscreen = globalconf.screens[widget->statusbar->screen];
|
||||
Client *sel = focus_get_latest_client_for_tag(globalconf.focus,
|
||||
widget->statusbar->screen,
|
||||
get_current_tag(widget->statusbar->screen));
|
||||
int location = calculate_offset(vscreen.statusbar.width,
|
||||
0,
|
||||
offset,
|
||||
|
|
Loading…
Reference in a new issue