Method

MetaWindowframe_rect_to_client_rect

Declaration [src]

void
meta_window_frame_rect_to_client_rect (
  MetaWindow* window,
  MetaRectangle* frame_rect,
  MetaRectangle* client_rect
)

Description [src]

Converts a desired frame bounds for a window into the bounds of the client window.

Parameters

frame_rect MetaRectangle
 

Desired frame bounds for the window.

 The data is owned by the caller of the function.
client_rect MetaRectangle
 

Location to store the computed corresponding client rectangle.

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