mirror of
https://github.com/0intro/wmii
synced 2024-12-16 08:32:48 +03:00
new additions to bar2
This commit is contained in:
parent
540be14b2d
commit
74e57709a5
@ -85,6 +85,7 @@ typedef struct {
|
|||||||
char event[5][256];
|
char event[5][256];
|
||||||
} Item;
|
} Item;
|
||||||
|
|
||||||
|
|
||||||
static size_t nitems = 0;
|
static size_t nitems = 0;
|
||||||
static char *sockfile = nil;
|
static char *sockfile = nil;
|
||||||
static pid_t mypid = 0;
|
static pid_t mypid = 0;
|
||||||
@ -94,6 +95,7 @@ static Display *dpy;
|
|||||||
static int screen_num;
|
static int screen_num;
|
||||||
static char *align = nil;
|
static char *align = nil;
|
||||||
static char *font = nil;
|
static char *font = nil;
|
||||||
|
static char *display = nil;
|
||||||
/*
|
/*
|
||||||
static GC gc;
|
static GC gc;
|
||||||
static Window win;
|
static Window win;
|
||||||
@ -419,9 +421,11 @@ xstat(IXPServer * s, IXPConn * c)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Fdisplay:
|
case Fdisplay:
|
||||||
mkstat(&s->fcall.stat, qfile_name(qpath_type(map->qid.path)),
|
mkstat(&s->fcall.stat, qfile_name(qpath_type(map->qid.path)), strlen(display), 0x0);
|
||||||
strlen(display)
|
break;
|
||||||
case Fnew:
|
case Fnew:
|
||||||
|
mkstat(&s->fcall.stat, qfile_name(qpath_type(map->qid.path)), 0, 0x0);
|
||||||
|
break;
|
||||||
case Fdata:
|
case Fdata:
|
||||||
case Fevent:
|
case Fevent:
|
||||||
case Fcolor:
|
case Fcolor:
|
||||||
|
Loading…
Reference in New Issue
Block a user