Disable macOS' "Tile by dragging windows to screen edges" from the command line
defaults write com.apple.WindowManager EnableTilingByEdgeDrag -int 0;
To enable it again:
defaults write com.apple.WindowManager EnableTilingByEdgeDrag -int 1;
defaults write com.apple.WindowManager EnableTilingByEdgeDrag -int 0;
To enable it again:
defaults write com.apple.WindowManager EnableTilingByEdgeDrag -int 1;