# Path: kano/logging.py
# class lazy_logger:
# class loader:
#     def __getattr__(self, name):
#     def __init__(self, old_mod):
#     def __getattr__(self, name):
# def log_excepthook(exc_class, exc_value, tb):


from contextlib import contextmanager
from kano.logging import logger
import Xlib.display
#
# xwindow.py
#
# Copyright (C) 2015-2019 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPL v2
#
# low level Xlib utilities
#
# Be careful mixing calls to this with Gtk.



def handle_uncaught_errors(err, req):
    # req is always None in the default error handler
    logger.error("error from Xlib {}".format(err))


@contextmanager

# Path: kano/logging.py
# class lazy_logger:
# class loader:
#     def __getattr__(self, name):
#     def __init__(self, old_mod):
#     def __getattr__(self, name):
# def log_excepthook(exc_class, exc_value, tb):


# Path: kano/xwindow.py
from contextlib import contextmanager
from kano.logging import logger
import Xlib.display

#
# xwindow.py
#
# Copyright (C) 2015-2019 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPL v2
#
# low level Xlib utilities
#
# Be careful mixing calls to this with Gtk.



def handle_uncaught_errors(err, req):
    # req is always None in the default error handler
    logger.error("error from Xlib {}".format(err))


@contextmanager

def display():