Method

MateDesktopBGcreate_surface

Declaration [src]

cairo_surface_t*
mate_bg_create_surface (
  MateBG* bg,
  GdkWindow* window,
  int width,
  int height,
  gboolean root
)

Description [src]

Create a surface that can be set as background for window. If root is TRUE, the surface created will be created by a temporary X server connection so that if someone calls XKillClient on it, it won’t affect the application who created it.

Parameters

window

Type: GdkWindow

No description available.

The data is owned by the caller of the method.
width

Type: int

No description available.

height

Type: int

No description available.

root

Type: gboolean

No description available.

Return value

Type: cairo_surface_t

No description available.

The caller of the method takes ownership of the data, and is responsible for freeing it.