Common names are always a problem, but "Window gnat" is the name used for Anisopodidae which are Nemotocera - i.e. they have long antennae. This is a Lonchopterid - a "Pointed wing fly". Assuming it was taken in Britain, this is a small family with only 7 species, all in the genus Lonchoptera -...