Lines Matching refs:ancestor
206 * Return the common ancestor of 'a' and 'b' (if one exists).
207 * @param a A window with the same ancestor as b.
208 * @param b A window with the same ancestor as a.
209 * @return The window that is the first ancestor of both 'a' and 'b', or the
210 * NullWindow if they do not have a common ancestor.
224 * Send enter notifies to all windows between 'ancestor' and 'child' (excluding
231 WindowPtr ancestor,
238 if (ancestor == parent)
240 DeviceEnterNotifies(dev, sourceid, ancestor, parent, mode, detail);
246 * Send enter notifies to all windows between 'ancestor' and 'child' (excluding
252 WindowPtr ancestor,
258 if (ancestor == parent)
260 CoreEnterNotifies(dev, ancestor, parent, mode, detail);
290 WindowPtr ancestor,
296 if (ancestor == child)
299 for (win = child->parent; win != ancestor; win = win->parent)
331 * Send leave notifies to all windows between 'child' and 'ancestor'.
338 WindowPtr ancestor,
344 if (ancestor == child)
346 for (win = child->parent; win != ancestor; win = win->parent)
630 * Send focus out events to all windows between 'child' and 'ancestor'.
636 WindowPtr ancestor,
642 if (ancestor == child)
644 for (win = child->parent; win != ancestor; win = win->parent)
650 * Send enter notifies to all windows between 'ancestor' and 'child' (excluding
656 WindowPtr ancestor,
663 if (ancestor == parent || !parent)
665 DeviceFocusInEvents(dev, ancestor, parent, mode, detail);
670 * Send FocusIn events to all windows between 'ancestor' and 'child' (excluding
676 WindowPtr ancestor,
682 if (ancestor == parent)
684 CoreFocusInEvents(dev, ancestor, parent, mode, detail);
712 WindowPtr ancestor,
718 if (ancestor == child)
721 for (win = child->parent; win != ancestor; win = win->parent)
756 * If the current pointer window is a descendant of 'exclude' or an ancestor of