Reference Manual - 0.9.25
IDirectFBDisplayLayer   EnableCursor

Enable/disable the mouse cursor for this layer.

EnableCursor (
  IDirectFBDisplayLayer   * thiz,
  int   enable
);

Windows on a layer will only receive motion events if the cursor is enabled. This function is only available in exclusive/administrative mode.