How to turn off Compiz's "drag to maximize" behaviour?

Solution 1:

You can disable it from ccsm : Click to install

Go to Windows management--> Grid --> Edges --> Re-size Actions

Top Edge: change it to none.

enter image description here

Solution 2:

Recommended

If you simply want to turn off this feature then run the following in a terminal:

gconftool-2 --set /apps/compiz-1/plugins/grid/screen0/options/top_edge_action --type int 0

Alternatively - with a GUI, use gconf-editor:

Compiz configuration options