Make gdk_window_get_toplevel() for CHILD window with root as parent
Make gdk_window_get_toplevel() for CHILD window with root as parent

Having GDK_WINDOW_CHILD windows with root as the parent apparently works,
and metacity uses it. The current gdk_window_get_toplevel() returns the
root window for that, which is wrong, so we check that explicitly.

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