Method

MetaWindowget_buffer_rect

Declaration [src]

void
meta_window_get_buffer_rect (
  const MetaWindow* window,
  MetaRectangle* rect
)

Description [src]

Gets the rectangle that the pixmap or buffer of window occupies.

For X11 windows, this is the server-side geometry of the toplevel window.

For Wayland windows, this is the bounding rectangle of the attached buffer.

Parameters

rect MetaRectangle
 

Pointer to an allocated MetaRectangle.

 The argument will be set by the function.
 The data is owned by the caller of the function.