| Submitter | Gerd Hoffmann |
|---|---|
| Date | June 14, 2010, 3:28 p.m. |
| Message ID | <1276529305-22640-2-git-send-email-kraxel@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/55554/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/console.h b/console.h index 3a80dca..a0da498 100644 --- a/console.h +++ b/console.h @@ -227,6 +227,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;
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- console.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)