Lines Matching defs:decorations

1437  * to be subtracted from the decorations.  Normalize decoration spec
1442 awt_wm_normalizeMotifDecor(int decorations)
1446 if (!(decorations & MWM_DECOR_ALL))
1447 return decorations; /* already normalized */
1451 d &= ~decorations;
1457 * Infer OL properties from MWM decorations.
1461 awt_wm_setOLDecor(struct FrameData *wdata, Boolean resizable, int decorations)
1472 decorations = awt_wm_normalizeMotifDecor(decorations);
1476 if (!(decorations & MWM_DECOR_TITLE)) {
1480 if (!(decorations & (MWM_DECOR_RESIZEH | MWM_DECOR_MAXIMIZE))) {
1484 if (!(decorations & (MWM_DECOR_MENU | MWM_DECOR_MAXIMIZE
1505 * Set MWM decorations. Infer MWM functions from decorations.
1508 awt_wm_setMotifDecor(struct FrameData *wdata, Boolean resizable, int decorations)
1513 if ((decorations & MWM_DECOR_ALL) && (decorations != MWM_DECOR_ALL)) {
1514 decorations = awt_wm_normalizeMotifDecor(decorations);
1516 decorations);
1522 if (decorations & MWM_DECOR_ALL) {
1545 XmNmwmDecorations, decorations,
1554 * window manager decorations.
1591 int decorations = wdata->decor;
1598 if (decorations & MWM_DECOR_ALL) {
1599 decorations |= (MWM_DECOR_RESIZEH | MWM_DECOR_MAXIMIZE);
1602 decorations &= ~(MWM_DECOR_RESIZEH | MWM_DECOR_MAXIMIZE);
1606 DTRACE_PRINTLN1("WM: decorations = 0x%X", decorations);
1607 awt_wm_setMotifDecor(wdata, resizable, decorations);
1608 awt_wm_setOLDecor(wdata, resizable, decorations);
1649 /* Restore decorations */
1656 * If justChangeSize is false, update decorations as well.
1680 if (!justChangeSize) { /* update decorations */