Lines Matching defs:sizep

1388     struct _OldXSizeHints *sizep = &w->wm.size_hints;
1390 sizep->x = w->core.x;
1391 sizep->y = w->core.y;
1392 sizep->width = w->core.width;
1393 sizep->height = w->core.height;
1395 if (sizep->flags & USSize) {
1396 if (sizep->flags & PSize)
1397 sizep->flags &= ~PSize;
1400 sizep->flags |= PSize;
1402 if (sizep->flags & USPosition) {
1403 if (sizep->flags & PPosition)
1404 sizep->flags &= ~PPosition;
1407 sizep->flags |= PPosition;
1409 if (sizep->min_aspect.x != XtUnspecifiedShellInt
1410 || sizep->min_aspect.y != XtUnspecifiedShellInt
1411 || sizep->max_aspect.x != XtUnspecifiedShellInt
1412 || sizep->max_aspect.y != XtUnspecifiedShellInt) {
1413 sizep->flags |= PAspect;
1415 if (sizep->flags & PBaseSize
1418 sizep->flags |= PBaseSize;
1424 if (sizep->flags & PResizeInc
1425 || sizep->width_inc != XtUnspecifiedShellInt
1426 || sizep->height_inc != XtUnspecifiedShellInt) {
1427 if (sizep->width_inc < 1)
1428 sizep->width_inc = 1;
1429 if (sizep->height_inc < 1)
1430 sizep->height_inc = 1;
1431 sizep->flags |= PResizeInc;
1433 if (sizep->flags & PMaxSize
1434 || sizep->max_width != XtUnspecifiedShellInt
1435 || sizep->max_height != XtUnspecifiedShellInt) {
1436 sizep->flags |= PMaxSize;
1437 if (sizep->max_width == XtUnspecifiedShellInt)
1438 sizep->max_width = BIGSIZE;
1439 if (sizep->max_height == XtUnspecifiedShellInt)
1440 sizep->max_height = BIGSIZE;
1442 if (sizep->flags & PMinSize
1443 || sizep->min_width != XtUnspecifiedShellInt
1444 || sizep->min_height != XtUnspecifiedShellInt) {
1445 sizep->flags |= PMinSize;
1446 if (sizep->min_width == XtUnspecifiedShellInt)
1447 sizep->min_width = 1;
1448 if (sizep->min_height == XtUnspecifiedShellInt)
1449 sizep->min_height = 1;