mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
ignore if non-zero expose events, for we could be covered by multiple
windows; merely an optimization. ok oga@
This commit is contained in:
parent
4377b5ac3f
commit
78c8bf08cb
@ -506,7 +506,7 @@ xev_handle_expose(struct xevent *xev, XEvent *ee)
|
|||||||
XExposeEvent *e = &ee->xexpose;
|
XExposeEvent *e = &ee->xexpose;
|
||||||
struct client_ctx *cc;
|
struct client_ctx *cc;
|
||||||
|
|
||||||
if ((cc = client_find(e->window)) != NULL)
|
if ((cc = client_find(e->window)) != NULL && e->count == 0)
|
||||||
client_draw_border(cc);
|
client_draw_border(cc);
|
||||||
|
|
||||||
xev_register(xev);
|
xev_register(xev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user