mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
cvsimport
This commit is contained in:
commit
9eaece0541
3
client.c
3
client.c
@ -435,6 +435,9 @@ client_ptrsave(struct client_ctx *cc)
|
|||||||
if (client_inbound(cc, x, y)) {
|
if (client_inbound(cc, x, y)) {
|
||||||
cc->ptr.x = x;
|
cc->ptr.x = x;
|
||||||
cc->ptr.y = y;
|
cc->ptr.y = y;
|
||||||
|
} else {
|
||||||
|
cc->ptr.x = -1;
|
||||||
|
cc->ptr.y = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
5
group.c
5
group.c
@ -108,6 +108,11 @@ group_show(struct screen_ctx *sc, struct group_ctx *gc)
|
|||||||
u_int i;
|
u_int i;
|
||||||
int lastempty = -1;
|
int lastempty = -1;
|
||||||
|
|
||||||
|
gc->highstack = 0;
|
||||||
|
TAILQ_FOREACH(cc, &gc->clients, group_entry) {
|
||||||
|
if (cc->stackingorder > gc->highstack)
|
||||||
|
gc->highstack = cc->stackingorder;
|
||||||
|
}
|
||||||
winlist = (Window *) xcalloc(sizeof(*winlist), (gc->highstack + 1));
|
winlist = (Window *) xcalloc(sizeof(*winlist), (gc->highstack + 1));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user