Enable custom event masks for native windows
Enable custom event masks for native windows

Some apps really need to set custom event masks on native child windows,
for example emacs sets the event masks with gdk, but then reads out
the raw X events via a filter, so gdk event emulation doesn't work for that.

When we get motion or button events we map back from the event position and
window to the toplevel before doing anything, because a toplevel native window
could e.g. overlap a child window or whatever.

ahodesuka/gtk,johne53/MB3Gtk-2,ahodesuka/gtk,davidgumberg/gtk,simokivimaki/gtk,ahodesuka/gtk,alexlarsson/gtk,Distrotech/gtk,jigpu/gtk,davidgumberg/gtk,alexlarsson/gtk,Distrotech/gtk,jadahl/gtk,jessevdk/gtk,simokivimaki/gtk,Unity-Technologies/gtk,nacho/gtk-,grubersjoe/adwaita,grubersjoe/adwaita,chergert/gtk,msteinert/gtk,Unity-Technologies/gtk,Lyude/gtk-,ebassi/gtk,Adamovskiy/gtk,Lyude/gtk-,ahodesuka/gtk,Sidnioulz/SandboxGtk,johne53/MB3Gtk-2,simokivimaki/gtk,jigpu/gtk,Lyude/gtk-,jadahl/gtk,Sidnioulz/SandboxGtk,chergert/gtk,chipx86/gtk,nacho/gtk-,Sidnioulz/SandboxGtk,ebassi/gtk,Adamovskiy/gtk,alexlarsson/gtk,grubersjoe/adwaita,jadahl/gtk,nacho/gtk-,Lyude/gtk-,davidgumberg/gtk,ahodesuka/gtk,jigpu/gtk,Distrotech/gtk2,jessevdk/gtk,simokivimaki/gtk,msteinert/gtk,davidgumberg/gtk,zsx/gtk,davidt/gtk,chergert/gtk,ebassi/gtk,Lyude/gtk-,alexlarsson/gtk,ebassi/gtk,davidgumberg/gtk,bratsche/gtk-,johne53/MB3Gtk-2,jessevdk/gtk,Sidnioulz/SandboxGtk,Adamovskiy/gtk,chipx86/gtk,davidt/gtk,jessevdk/gtk,jigpu/gtk,msteinert/gtk,alexlarsson/gtk,grubersjoe/adwaita,ahodesuka/gtk,chipx86/gtk,msteinert/gtk,jessevdk/gtk,msteinert/gtk,Adamovskiy/gtk,Lyude/gtk-,jigpu/gtk,jadahl/gtk,alexlarsson/gtk,zsx/gtk,Lyude/gtk-,chipx86/gtk,davidgumberg/gtk,jadahl/gtk,jadahl/gtk,Adamovskiy/gtk,grubersjoe/adwaita,jigpu/gtk,Sidnioulz/SandboxGtk,jessevdk/gtk,davidt/gtk,davidgumberg/gtk,bratsche/gtk-,Sidnioulz/SandboxGtk,Adamovskiy/gtk,jessevdk/gtk,Lyude/gtk-,ahodesuka/gtk,alexlarsson/gtk,Unity-Technologies/gtk,jigpu/gtk,zsx/gtk,bratsche/gtk-,ebassi/gtk,johne53/MB3Gtk-2,nacho/gtk-,jadahl/gtk,zsx/gtk,chergert/gtk,Distrotech/gtk,Adamovskiy/gtk,davidgumberg/gtk,simokivimaki/gtk,msteinert/gtk,jigpu/gtk,chergert/gtk,grubersjoe/adwaita,jadahl/gtk,zsx/gtk,simokivimaki/gtk,davidt/gtk,ahodesuka/gtk,Distrotech/gtk2,chergert/gtk,johne53/MB3Gtk-2,davidt/gtk,chergert/gtk,alexlarsson/gtk,bratsche/gtk-,chergert/gtk,Distrotech/gtk,Distrotech/gtk2,bratsche/gtk-,Adamovskiy/gtk,Distrotech/gtk2,davidt/gtk,Distrotech/gtk,Unity-Technologies/gtk,grubersjoe/adwaita,Distrotech/gtk2,bratsche/gtk-,Unity-Technologies/gtk,grubersjoe/adwaita,Distrotech/gtk2,nacho/gtk-,chipx86/gtk,ebassi/gtk