Ubuntu – How to turn off Sticky Edges in Ubuntu Gnome
The setting you are looking for can be done graphically in dconf-editor, navigating to /org/gnome/shell/overrides and toggling the value edge-tiling, as appears below:
Ubuntu – How to turn off Sticky Edges in Ubuntu Gnome