Fix null pointer deref on logout. (LP: #1194343)
Hackity hack on xmir; might want to resurrect this later
Stage the bastard

Conflicts:
	hw/xfree86/common/xf86Init.c
	hw/xfree86/common/xf86Priv.h
Further hacking
More more more
xmir: Add copyright header
xmir: Fix submit_rendering_for_window prototype.

We need to pass in the context that we'll pass to the callback
xmir: Add stub for DRM auth proxy
xmir: Update xmir_get_drm_fd to match prototype
xmir: Refactor to move xmir state into the Xserver objects.

This looks cleaner than the global-variable method before, and
will be necessary when we do a rootless nested-X.
xmir: Factor out window code into its own file
xmir: Kill a C90 warning
xmir: implement submit_rendering_for_window
xmir: Clean up some #includes
xmir: Whitespace! Whitespace! Whitespace!
xmir: Actually add xmir-window.c to the build.

And hence we fix all the little things which prevented it
from building, too
xmir: Factor output code into its own file
xmir: Header guards, m'kay?
xmir: Add stub thread-to-eventloop infrastructure
xmir: Trivial thread-to-eventloop implementation to pass tests