mirror of
https://github.com/0intro/wmii
synced 2024-12-25 21:06:57 +03:00
Removed some noise.
This commit is contained in:
parent
ebbfd75386
commit
50bed8e056
@ -358,10 +358,9 @@ dostat(Stat *s, unsigned int len, FileId *f) {
|
||||
s->mtime = time(nil);
|
||||
s->length = len;
|
||||
s->name = f->tab.name;
|
||||
/* XXX This genenv should be called once */
|
||||
s->uid = getenv("USER");
|
||||
s->gid = getenv("USER");
|
||||
s->muid = getenv("USER");
|
||||
s->uid = user;
|
||||
s->gid = user;
|
||||
s->muid = user;
|
||||
}
|
||||
|
||||
/* lookup_file */
|
||||
|
@ -293,6 +293,8 @@ main(int argc, char *argv[])
|
||||
lbar = nil;
|
||||
key = nil;
|
||||
|
||||
user = getenv("USER");
|
||||
|
||||
def.colrules.string = nil;
|
||||
def.colrules.size = 0;
|
||||
def.tagrules.string = nil;
|
||||
|
18
cmd/wm/wm.h
18
cmd/wm/wm.h
@ -160,22 +160,6 @@ typedef struct {
|
||||
int colmode;
|
||||
} Default;
|
||||
|
||||
typedef struct {
|
||||
union {
|
||||
Qid qid;
|
||||
struct {
|
||||
unsigned char type;
|
||||
unsigned int version;
|
||||
unsigned char ptype;
|
||||
unsigned short i1id;
|
||||
unsigned short i2id;
|
||||
unsigned short i3id;
|
||||
};
|
||||
};
|
||||
} PackedQid;
|
||||
|
||||
/* global variables */
|
||||
|
||||
/* global variables */
|
||||
View *view;
|
||||
Client *client;
|
||||
@ -196,7 +180,7 @@ GC bargc;
|
||||
GC xorgc;
|
||||
BlitzWidget *bartile;
|
||||
XRectangle brect;
|
||||
PackedQid root_qid;
|
||||
char *user;
|
||||
Default def;
|
||||
Atom wm_atom[WMLast];
|
||||
Atom net_atom[NetLast];
|
||||
|
Loading…
Reference in New Issue
Block a user