def widget_ungrab_keyboard(self):
        del self.window.handle_KeyPress
        if self.saved_focus is not None:
            self.saved_focus.window.set_input_focus()
Forward events to the legacy observer after editing them to
dataset/ETHPy150Open qtile/qtile/libqtile/bar.py/Bar.widget_ungrab_keyboard--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/logger/_legacy.py/LegacyLogObserverWrapper.__call__