Lines Matching defs:OtpWinList

56 struct OtpWinList {
57 OtpWinList *above;
58 OtpWinList *below;
83 static void OwlPrettyPrint(const OtpWinList *start);
84 static void OwlSetAflagMask(OtpWinList *owl, unsigned mask, unsigned setto);
85 static void OwlSetAflag(OtpWinList *owl, unsigned flag);
86 static void OwlClearAflag(OtpWinList *owl, unsigned flag);
87 static void OwlStashAflags(OtpWinList *owl);
88 static unsigned OwlGetStashedAflags(OtpWinList *owl, bool *gotit);
89 static int OwlEffectivePriority(OtpWinList *owl);
91 static Box BoxOfOwl(OtpWinList *owl)
130 static bool isIntersectingWith(OtpWinList *owl1, OtpWinList *owl2)
139 static bool isOnScreen(OtpWinList *owl)
182 static Window WindowOfOwl(OtpWinList *owl)
208 OtpWinList *owl;
357 static void RemoveOwl(OtpWinList *owl)
378 static OtpWinList *GetOwlAtOrBelowInVS(OtpWinList *owl, VirtualScreen *vs)
395 static OtpWinList *GetOwlAtOrBelowInWinbox(OtpWinList **owlp, WindowBox *wb)
397 OtpWinList *owl = *owlp;
415 static void InsertOwlAbove(OtpWinList *owl, OtpWinList *other_owl)
454 OtpWinList *vs_owl;
509 static bool shouldStayAbove(OtpWinList *owl, OtpWinList *other_owl)
517 static void RaiseSmallTransientsOfAbove(OtpWinList *owl, OtpWinList *other_owl)
519 OtpWinList *trans_owl, *tmp_owl;
538 static OtpWinList *OwlRightBelow(int priority)
540 OtpWinList *owl1, *owl2;
561 static void InsertOwl(OtpWinList *owl, int where)
563 OtpWinList *other_owl;
600 static void SetOwlPriority(OtpWinList *owl, int new_pri, int where)
624 static void TryToMoveTransientsOfTo(OtpWinList *owl, int priority, int where)
626 OtpWinList *other_owl;
643 OtpWinList *tmp_owl = other_owl->above;
654 static void TryToSwitch(OtpWinList *owl, int where)
678 static void RaiseOwl(OtpWinList *owl)
686 static void LowerOwl(OtpWinList *owl)
693 static bool isHiddenBy(OtpWinList *owl, OtpWinList *other_owl)
700 static void TinyRaiseOwl(OtpWinList *owl)
702 OtpWinList *other_owl = owl->above;
718 static void TinyLowerOwl(OtpWinList *owl)
720 OtpWinList *other_owl = owl->below;
734 static void RaiseLowerOwl(OtpWinList *owl)
736 OtpWinList *other_owl;
765 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
779 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
793 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
807 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
821 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
896 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
922 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
943 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
965 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
992 OtpWinList *owl = twm_win->otp;
993 OtpWinList *other_owl = other_win->otp;
1024 static void ApplyPreferences(OtpPreferences *prefs, OtpWinList *owl)
1048 static void RecomputeOwlPrefs(OtpPreferences *prefs, OtpWinList *owl)
1086 static void free_OtpWinList(OtpWinList *owl)
1096 OtpWinList **owlp;
1109 static OtpWinList *new_OtpWinList(TwmWindow *twm_win,
1114 OtpWinList *owl = malloc(sizeof(OtpWinList));
1134 static OtpWinList *AddNewOwl(TwmWindow *twm_win, WinType wintype,
1135 OtpWinList *parent)
1137 OtpWinList *owl;
1225 OtpWinList *parent = NULL;
1226 OtpWinList **owlp;
1382 OtpWinList *owl = (wintype == IconWin) ? twm_win->icon->otp : twm_win->otp;
1383 OtpWinList *other = owl->below;
1403 OtpWinList *win_owl = twm_win->otp;
1405 OtpWinList *icon_owl = twm_win->icon->otp;
1408 OtpWinList *below_win = win_owl->below;
1409 OtpWinList *below_icon = icon_owl->below;
1439 OtpWinList *owl = Scr->bottomOwl;
1448 OtpWinList *owl = Scr->bottomOwl, *top = NULL;
1460 OtpWinList *owl = twm_win->otp->above;
1469 OtpWinList *owl = twm_win->otp->below;
1485 OwlPrettyPrint(const OtpWinList *start)
1489 for(const OtpWinList *owl = start ; owl != NULL ; owl = owl->above) {
1530 OwlSetAflagMask(OtpWinList *owl, unsigned mask, unsigned setto)
1550 OwlSetAflag(OtpWinList *owl, unsigned flag)
1568 OwlClearAflag(OtpWinList *owl, unsigned flag)
1593 OwlStashAflags(OtpWinList *owl)
1609 OwlGetStashedAflags(OtpWinList *owl, bool *gotit)
1650 OtpWinList *owl = twm_win->otp;
1677 OtpWinList *owl = twm_win->otp;
1703 OtpWinList **tlst = calloc(tlsz, sizeof(OtpWinList *));
1710 OtpWinList *trans = Scr->bottomOwl;
1713 OtpWinList *next = trans->above;
1723 OtpWinList **tln = realloc(tlst, (tlsz * sizeof(OtpWinList *)));
1812 OwlEffectivePriority(OtpWinList *owl)