Yes, that's it. That shadow and extra space that is useless. How could I get rid of it?If you're using the CMD+Shift+4+Space click shortcut the space around the window is the drop shadow I believe. MacOS for whatever reason includes it in the PNG when you screen shot a window. I guess it makes it look pretty or something but if you just click and drag manually it won't have any space other than what you selected. Or the whole screen will be the proper resolution too.
This is even more complicated on the rMBP if you have the scaling changed, you can screenshot a window and the resulting file can be larger than your physical screen due to it running at a higher res the downscaling to fit the screen. Kinda goofy stuff.
You're talking about this right?