Interactive screenshots—the OS X feature to snap a screenshot of a window with Command-Shift-4 + the space bar—now capture attached windows.
Note: A flag has been added to the `screencapture` command line tool to disable capturing of attached windows.