Lines Matching refs:ancestor

209  * Return the common ancestor of 'a' and 'b' (if one exists).
210 * @param a A window with the same ancestor as b.
211 * @param b A window with the same ancestor as a.
212 * @return The window that is the first ancestor of both 'a' and 'b', or the
213 * NullWindow if they do not have a common ancestor.
225 * Send enter notifies to all windows between 'ancestor' and 'child' (excluding
232 WindowPtr ancestor, WindowPtr child, int mode, int detail)
236 if (ancestor == parent)
238 DeviceEnterNotifies(dev, sourceid, ancestor, parent, mode, detail);
244 * Send enter notifies to all windows between 'ancestor' and 'child' (excluding
250 WindowPtr ancestor, WindowPtr child, int mode, int detail)
254 if (ancestor == parent)
256 CoreEnterNotifies(dev, ancestor, parent, mode, detail);
284 WindowPtr child, WindowPtr ancestor, int mode, int detail)
288 if (ancestor == child)
291 for (win = child->parent; win != ancestor; win = win->parent) {
323 * Send leave notifies to all windows between 'child' and 'ancestor'.
329 WindowPtr child, WindowPtr ancestor, int mode, int detail)
333 if (ancestor == child)
335 for (win = child->parent; win != ancestor; win = win->parent) {
839 * Send focus out events to all windows between 'child' and 'ancestor'.
844 WindowPtr child, WindowPtr ancestor, int mode, int detail)
848 if (ancestor == child)
850 for (win = child->parent; win != ancestor; win = win->parent)
855 * Send enter notifies to all windows between 'ancestor' and 'child' (excluding
861 WindowPtr ancestor, WindowPtr child, int mode, int detail)
865 if (ancestor == parent || !parent)
867 DeviceFocusInEvents(dev, ancestor, parent, mode, detail);
872 * Send FocusIn events to all windows between 'ancestor' and 'child' (excluding
878 WindowPtr ancestor, WindowPtr child, int mode, int detail)
882 if (ancestor == parent)
884 CoreFocusInEvents(dev, ancestor, parent, mode, detail);
910 WindowPtr child, WindowPtr ancestor, int mode, int detail)
914 if (ancestor == child)
917 for (win = child->parent; win != ancestor; win = win->parent) {
951 * If the current pointer window is a descendant of 'exclude' or an ancestor of