void unregister_displaychangelistener(DisplayChangeListener *dcl)

{

    DisplayState *ds = dcl->ds;

    trace_displaychangelistener_unregister(dcl, dcl->ops->dpy_name);

    if (dcl->con) {

        dcl->con->dcls--;

    }

    QLIST_REMOVE(dcl, next);


    gui_setup_refresh(ds);

}
void unregister_displaychangelistener(DisplayChangeListener *dcl)

{

    DisplayState *ds = dcl->ds;

    trace_displaychangelistener_unregister(dcl, dcl->ops->dpy_name);

    if (dcl->con) {

        dcl->con->dcls--;

    }

    QLIST_REMOVE(dcl, next);


    gui_setup_refresh(ds);

}
void FUNC_0(DisplayChangeListener *VAR_0)

{

    DisplayState *ds = VAR_0->ds;

    trace_displaychangelistener_unregister(VAR_0, VAR_0->ops->dpy_name);

    if (VAR_0->con) {

        VAR_0->con->dcls--;

    }

    QLIST_REMOVE(VAR_0, next);


    gui_setup_refresh(ds);

}
void FUNC_0(DisplayChangeListener *VAR_0)
{ DisplayState *ds = VAR_0->ds; trace_displaychangelistener_unregister(VAR_0, VAR_0->ops->dpy_name); if (VAR_0->con) { VAR_0->con->dcls--; } QLIST_REMOVE(VAR_0, next); gui_setup_refresh(ds); }