the surface is entered from an ancestor or left towards an ancestor.
the surface is entered from an inferior or left towards an inferior.
the surface is entered from or left towards a surface which is neither an ancestor nor an inferior.
the pointer moves between two surfaces which are not ancestors of each other and the surface is part of the ancestor chain between one of these surfaces and their least common ancestor.
an unknown type of enter/leave event occurred.
the pointer moves between an ancestor and an inferior of the surface.
Specifies the kind of crossing for enter and leave events.
See the X11 protocol specification of LeaveNotify for full details of crossing event generation.