Lines Matching defs:hints
65 XSizeHints *hints,
71 data.flags = (hints->flags &
79 if (hints->flags & (USPosition|PPosition)) {
80 data.x = hints->x;
81 data.y = hints->y;
83 if (hints->flags & (USSize|PSize)) {
84 data.width = hints->width;
85 data.height = hints->height;
88 if (hints->flags & PMinSize) {
89 data.minWidth = hints->min_width;
90 data.minHeight = hints->min_height;
92 if (hints->flags & PMaxSize) {
93 data.maxWidth = hints->max_width;
94 data.maxHeight = hints->max_height;
96 if (hints->flags & PResizeInc) {
97 data.widthInc = hints->width_inc;
98 data.heightInc = hints->height_inc;
100 if (hints->flags & PAspect) {
101 data.minAspectX = hints->min_aspect.x;
102 data.minAspectY = hints->min_aspect.y;
103 data.maxAspectX = hints->max_aspect.x;
104 data.maxAspectY = hints->max_aspect.y;
106 if (hints->flags & PBaseSize) {
107 data.baseWidth = hints->base_width;
108 data.baseHeight = hints->base_height;
110 if (hints->flags & PWinGravity) {
111 data.winGravity = hints->win_gravity;
123 XSizeHints *hints)
125 XSetWMSizeHints (dpy, w, hints, XA_WM_NORMAL_HINTS);