• G
    console: add unregister_displaychangelistener · 35c9e0a5
    Gerd Hoffmann 提交于
    Also change the way the gui_timer is initialized: each time a
    displaychangelistener is registered or unregistered we'll check
    whether we need a timer (due to dpy_refresh callback being present)
    and if so setup a timer, otherwise zap it.  This way the gui timer
    works correctly with displaychangelisteners coming and going.
    Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
    35c9e0a5
vl.c 109.5 KB