diff options
author | okan | 2008-06-12 05:01:13 +0000 |
---|---|---|
committer | okan | 2008-06-12 05:01:13 +0000 |
commit | acc806aec6bb6ba93379c3e25d9d4bf71b226e20 (patch) | |
tree | f107463eec36d311e984ac228689949611f21b0f /xevents.c | |
parent | 5c679a8f123c6f4dc2083aaad4ec288aa83214e6 (diff) | |
download | cwm-acc806aec6bb6ba93379c3e25d9d4bf71b226e20.tar.gz |
ignore if non-zero expose events, for we could be covered by multiple
windows; merely an optimization.
ok oga@
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: xevents.c,v 1.16 2008/05/21 14:11:19 oga Exp $ + * $Id: xevents.c,v 1.17 2008/06/12 05:01:13 okan Exp $ */ /* @@ -506,7 +506,7 @@ xev_handle_expose(struct xevent *xev, XEvent *ee) XExposeEvent *e = &ee->xexpose; 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); xev_register(xev); |