Lines Matching defs:hints
39 * as well as the gravity to be set in the WM_NORMAL_HINTS size hints.
52 XSizeHints *hints, /* usually WM_NORMAL_HINTS */
81 base_width = ((hints->flags & PBaseSize) ? hints->base_width :
82 ((hints->flags & PMinSize) ? hints->min_width : 0));
83 base_height = ((hints->flags & PBaseSize) ? hints->base_height :
84 ((hints->flags & PMinSize) ? hints->min_height : 0));
85 min_width = ((hints->flags & PMinSize) ? hints->min_width : base_width);
86 min_height = ((hints->flags & PMinSize) ? hints->min_height : base_height);
87 width_inc = (hints->flags & PResizeInc) ? hints->width_inc : 1;
88 height_inc = (hints->flags & PResizeInc) ? hints->height_inc : 1;
121 if (hints->flags & PMaxSize) {
122 if (rwidth > hints->max_width) rwidth = hints->max_width;
123 if (rheight > hints->max_height) rheight = hints->max_height;