Lines Matching refs:PRI
50 #define PRI(owl) OwlEffectivePriority(owl)
248 /* List should be bottom->top, so effective pri better ascend */
250 const int nextpri = PRI(owl);
265 fprintf(stderr, "checking owl: pri %d w=%x stack=%d",
418 fprintf(stderr, "InsertOwlAbove owl->pri=%d w=0x%x parent_vs:(x,y)=(%d,%d)",
419 PRI(owl),
424 fprintf(stderr, "\n other_owl->pri=%d w=0x%x parent_vs:(x,y)=(%d,%d)",
425 PRI(other_owl),
440 assert(PRI(owl) <= PRI(Scr->bottomOwl));
469 assert(PRI(owl) >= PRI(other_owl));
471 assert(PRI(owl) <= PRI(other_owl->above));
487 assert(PRI(vs_owl) <= PRI(other_owl));
543 if(priority <= PRI(Scr->bottomOwl)) {
548 (owl2 != NULL) && (PRI(owl2) < priority);
554 assert(PRI(owl1) < priority);
555 assert((owl2 == NULL) || (PRI(owl2) >= priority));
574 priority = PRI(owl) - (where == Above ? 0 : 1);
637 other_owl = OwlRightBelow(PRI(owl));
639 assert(PRI(other_owl) >= PRI(owl));
642 while((other_owl != NULL) && (PRI(other_owl) == PRI(owl))) {
704 while((other_owl != NULL) && (PRI(other_owl) == PRI(owl))) {
722 while((other_owl != NULL) && (PRI(other_owl) == PRI(owl))) {
740 * abs(effective pri)
748 priority = MAX(PRI(owl), OTP_MAX - PRI(owl));
751 (other_owl != NULL) && (PRI(other_owl) <= priority);
1210 if((PRI(owl) != OTP_ZERO || owl->pri_aflags != 0)
1490 fprintf(stderr, " pri=%2d (%+d) %s 0x%lx:'%1.50s'\n",
1759 int oldprio = PRI(twm_win->otp);
1777 int oldprio = PRI(twm_win->otp);
1814 int pri;
1818 pri = owl->pri_base;
1823 pri += EWMH_PRI_ABOVE;
1826 pri -= EWMH_PRI_ABOVE;
1838 pri -= EWMH_PRI_DOCK;
1852 pri = EWMH_PRI_FULLSCREEN + OTP_ZERO;
1864 pri = EWMH_PRI_FULLSCREEN + OTP_ZERO;
1871 pri = MAX(pri, 0);
1872 pri = MIN(pri, OTP_MAX);
1874 return pri;