def get_info(p_display=None, default_root_window=None, p_info=None):

  if p_display is None:
    p_display = _p_display

  if default_root_window is None:
    default_root_window = _default_root_window

  if p_info is None:
    p_info = _p_info

  libXss.XScreenSaverQueryInfo(p_display, default_root_window, p_info)
  return p_info.contents