Stephen Hacket:
Launch Terminal.app and enter this command to tell the system to just capture window content, without the window’s shadow:
defaults write com.apple.screencapture disable-shadow -bool true
Press Return, then use this command to force your Mac to pick up the change to the prefrence file:
killall SystemUIServer