Method
MetaWindowclient_rect_to_frame_rect
Declaration [src]
void
meta_window_client_rect_to_frame_rect (
MetaWindow* window,
MetaRectangle* client_rect,
MetaRectangle* frame_rect
)
Description [src]
Converts a desired bounds of the client window into the corresponding bounds of the window frame (excluding invisible borders and client side shadows.)
Parameters
client_rect
-
Type:
MetaRectangle
Client rectangle in root coordinates.
The data is owned by the caller of the function. frame_rect
-
Type:
MetaRectangle
Location to store the computed corresponding frame bounds.
The argument will be set by the function. The data is owned by the caller of the function.