Gnome >= 2.22 has its own window compositing. To enable:

gconftool-2 -s --type bool /apps/metacity/general/compositing_manager true

To disable, set ‘true’ to ‘false’

without-compositing

Without window compositing

with-compositing

With compositing. See the drop shadow on app window and opacity on terminal window