diff --git a/bumblebee/engine.py b/bumblebee/engine.py index fb6a7d3..f441269 100644 --- a/bumblebee/engine.py +++ b/bumblebee/engine.py @@ -269,8 +269,10 @@ class Engine(object): interval = float(self._config.get("interval", 1)) while self.running(): if event and time.time() - last_full < interval: + log.debug("partial output update ({} {} {})".format(event, time.time(), last_full)) self.patch_output(event) else: + log.debug("full update: {} {} ({})".format(time.time(), last_full, time.time() - last_full)) last_full = time.time() self.write_output() if self.running(): diff --git a/bumblebee/input.py b/bumblebee/input.py index 9b760bc..77c0693 100644 --- a/bumblebee/input.py +++ b/bumblebee/input.py @@ -90,6 +90,7 @@ class I3BarInput(object): def wait(self, timeout): self._condition.wait(timeout) rv = self.event if self.has_event else None + log.debug("received input event: {}".format(rv)) self.has_event = False return rv