Lines Matching defs:hints
66 XSizeHints *hints,
71 prop.flags = (hints->flags & (USPosition|USSize|PAllHints));
72 if (hints->flags & (USPosition|PPosition)) {
73 prop.x = hints->x;
74 prop.y = hints->y;
76 if (hints->flags & (USSize|PSize)) {
77 prop.width = hints->width;
78 prop.height = hints->height;
80 if (hints->flags & PMinSize) {
81 prop.minWidth = hints->min_width;
82 prop.minHeight = hints->min_height;
84 if (hints->flags & PMaxSize) {
85 prop.maxWidth = hints->max_width;
86 prop.maxHeight = hints->max_height;
88 if (hints->flags & PResizeInc) {
89 prop.widthInc = hints->width_inc;
90 prop.heightInc = hints->height_inc;
92 if (hints->flags & PAspect) {
93 prop.minAspectX = hints->min_aspect.x;
94 prop.minAspectY = hints->min_aspect.y;
95 prop.maxAspectX = hints->max_aspect.x;
96 prop.maxAspectY = hints->max_aspect.y;
164 XSizeHints *hints)
166 return XSetSizeHints (dpy, w, hints, XA_WM_NORMAL_HINTS);
255 XSizeHints *hints) /* size hints for window in its normal state */
277 if (hints != NULL) XSetNormalHints(dpy, w, hints);