summaryrefslogtreecommitdiff
path: root/indicators.c
diff options
context:
space:
mode:
Diffstat (limited to 'indicators.c')
-rw-r--r--indicators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/indicators.c b/indicators.c
index 0beb2d6..b3e7d18 100644
--- a/indicators.c
+++ b/indicators.c
@@ -133,7 +133,7 @@ AddIndicatorMap(LEDInfo * oldLEDs, LEDInfo * new)
old->flags |= (new->flags & XkbIM_LEDDrivesKB);
old->defs.defined |= _LED_DrivesKbd;
}
- if (collide)
+ if (collide && (warningLevel > 0))
{
WARN("Map for indicator %s redefined\n",
XkbAtomText(NULL, old->name, XkbMessage));