Reference Manual - 0.9.25
IDirectFBWindow   GetSurface

Get an interface to the backing store surface.

GetSurface (
  IDirectFBWindow   * thiz,
  IDirectFBSurface   ** ret_surface
);

This surface has to be flipped to make previous drawing commands visible, i.e. to repaint the windowstack for that region.