Lines Matching refs:where
561 static void InsertOwl(OtpWinList *owl, int where)
567 (where == Above) ? "Above" :
568 (where == Below) ? "Below" :
572 assert((where == Above) || (where == Below));
574 priority = PRI(owl) - (where == Above ? 0 : 1);
594 /* now go ahead and put the window where it should go */
600 static void SetOwlPriority(OtpWinList *owl, int new_pri, int where)
614 InsertOwl(owl, where);
624 static void TryToMoveTransientsOfTo(OtpWinList *owl, int priority, int where)
648 SetOwlPriority(other_owl, priority, where);
654 static void TryToSwitch(OtpWinList *owl, int where)
667 if(((where == Above) && (priority > owl->pri_base)) ||
668 ((where == Below) && (priority < owl->pri_base))) {
673 TryToMoveTransientsOfTo(owl, priority, where);
894 void OtpSetPriority(TwmWindow *twm_win, WinType wintype, int new_pri, int where)
912 TryToMoveTransientsOfTo(owl, priority, where);
913 SetOwlPriority(owl, priority, where);
924 int where;
932 where = relpriority < 0 ? Below : Above;
934 TryToMoveTransientsOfTo(owl, priority, where);
935 SetOwlPriority(owl, priority, where);
945 int where;
955 where = priority < OTP_ZERO ? Below : Above;
956 TryToMoveTransientsOfTo(owl, priority, where);
957 SetOwlPriority(owl, priority, where);
990 void OtpForcePlacement(TwmWindow *twm_win, int where, TwmWindow *other_win)
998 if(where == BottomIf) {
999 where = Below;
1001 if(where != Below) {
1002 where = Above;
1015 if(where == Below) {
1216 /* finally put the window where it should go */
1642 * Figure where a window should be stacked based on the current world,
1666 * window changes, but then it's too late to see where all the transients
1669 * There are a number of unpleasant assumptions in here relating to where
1689 // from where the old priority was in the list turns out to be deeply
1755 // Stash where it currently appears to be. We assume all its
1831 * So if both are set, and its base is where we'd expect just a _DOCK