shadow: start hooking X11 code as subsystem