From bd365405d7fe019ba32e3c8e4c34f946fb4851ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 29 Dec 2018 17:14:49 +0100 Subject: [PATCH] particle/list: remove excessive debug output --- particles/list.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/particles/list.c b/particles/list.c index 095ced1..0f14297 100644 --- a/particles/list.c +++ b/particles/list.c @@ -80,6 +80,7 @@ on_mouse(struct exposable *exposable, struct bar *bar, const struct exposable_private *e = exposable->private; if (exposable->on_click != NULL) { + /* We have our own handler */ exposable_default_on_mouse(exposable, bar, event, x, y); return; } @@ -97,7 +98,7 @@ on_mouse(struct exposable *exposable, struct bar *bar, px += e->left_spacing + e->exposables[i]->width + e->right_spacing; } - LOG_DBG("on_mouse missed all sub-particles"); + /* We're between sub-particles (or in the left/right margin) */ exposable_default_on_mouse(exposable, bar, event, x, y); }