Searched refs:win_attributes (Results 1 – 1 of 1) sorted by relevance
54 XWindowAttributes win_attributes; local58 if (!XGetWindowAttributes(dpy, window, &win_attributes))70 win_attributes.width -= hints.base_width;71 win_attributes.height -= hints.base_height;74 win_attributes.width -= hints.min_width;75 win_attributes.height -= hints.min_height;77 *p_width = win_attributes.width / hints.width_inc;78 *p_height = win_attributes.height / hints.height_inc;