The president has focused on soothing discontent among center-right allies since the weekend election rout , dropping a tax on carbon dioxide emissions , reassuring farmers and hammering a tough line on security and immigration .