Signed-off-by: Gerd Hoffmann <kra...@redhat.com> --- console.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/console.h b/console.h index 2263971..3f77661 100644 --- a/console.h +++ b/console.h @@ -228,6 +228,11 @@ static inline void register_displaychangelistener(DisplayState *ds, DisplayChang QLIST_INSERT_HEAD(&ds->listeners, dcl, next); } +static inline void unregister_displaychangelistener(DisplayChangeListener *dcl) +{ + QLIST_REMOVE(dcl, next); +} + static inline void dpy_update(DisplayState *s, int x, int y, int w, int h) { struct DisplayChangeListener *dcl; -- 1.6.5.2