Reference Manual - 0.9.25
IDirectFBDisplayLayer   SetCursorShape

Set the cursor shape and the hotspot.

SetCursorShape (
  IDirectFBDisplayLayer   * thiz,
  IDirectFBSurface   * shape,
  int   hot_x,
  int   hot_y
);