Lines Matching refs:hintp
1057 set_sizehints(XSizeHints *hintp, int min_width, int min_height,
1064 hintp->width = hintp->min_width = min_width;
1065 hintp->height = hintp->min_height = min_height;
1066 hintp->flags = PMinSize;
1067 hintp->x = hintp->y = 0;
1070 geom_result = XParseGeometry(geom, &hintp->x, &hintp->y,
1071 (unsigned int *) &hintp->width,
1072 (unsigned int *) &hintp->height);
1077 hintp->width = max(hintp->width, hintp->min_width);
1078 hintp->height = max(hintp->height, hintp->min_height);
1079 hintp->flags |= USSize;
1082 hintp->flags += USPosition;
1085 if (!(hintp->flags & USSize)) {
1086 hintp->width = defwidth;
1087 hintp->height = defheight;
1088 hintp->flags |= PSize;
1091 if (!(hintp->flags & USPosition)) {
1092 hintp->x = defx;
1093 hintp->y = defy;
1094 hintp->flags |= PPosition;
1098 hintp->x = DisplayWidth(dpy, DefaultScreen(dpy)) + hintp->x -
1099 hintp->width;
1102 hintp->y = DisplayHeight(dpy, DefaultScreen(dpy)) + hintp->y -
1103 hintp->height;