mirror of
https://github.com/0intro/wmii
synced 2024-12-26 05:16:59 +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->mtime = time(nil);
|
||||||
s->length = len;
|
s->length = len;
|
||||||
s->name = f->tab.name;
|
s->name = f->tab.name;
|
||||||
/* XXX This genenv should be called once */
|
s->uid = user;
|
||||||
s->uid = getenv("USER");
|
s->gid = user;
|
||||||
s->gid = getenv("USER");
|
s->muid = user;
|
||||||
s->muid = getenv("USER");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* lookup_file */
|
/* lookup_file */
|
||||||
|
@ -293,6 +293,8 @@ main(int argc, char *argv[])
|
|||||||
lbar = nil;
|
lbar = nil;
|
||||||
key = nil;
|
key = nil;
|
||||||
|
|
||||||
|
user = getenv("USER");
|
||||||
|
|
||||||
def.colrules.string = nil;
|
def.colrules.string = nil;
|
||||||
def.colrules.size = 0;
|
def.colrules.size = 0;
|
||||||
def.tagrules.string = nil;
|
def.tagrules.string = nil;
|
||||||
|
18
cmd/wm/wm.h
18
cmd/wm/wm.h
@ -160,22 +160,6 @@ typedef struct {
|
|||||||
int colmode;
|
int colmode;
|
||||||
} Default;
|
} 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 */
|
/* global variables */
|
||||||
View *view;
|
View *view;
|
||||||
Client *client;
|
Client *client;
|
||||||
@ -196,7 +180,7 @@ GC bargc;
|
|||||||
GC xorgc;
|
GC xorgc;
|
||||||
BlitzWidget *bartile;
|
BlitzWidget *bartile;
|
||||||
XRectangle brect;
|
XRectangle brect;
|
||||||
PackedQid root_qid;
|
char *user;
|
||||||
Default def;
|
Default def;
|
||||||
Atom wm_atom[WMLast];
|
Atom wm_atom[WMLast];
|
||||||
Atom net_atom[NetLast];
|
Atom net_atom[NetLast];
|
||||||
|
Loading…
Reference in New Issue
Block a user