Binary package hint: metacity
Metacity (2.20.0-0ubuntu3) allows user to move or resize the window by holding the "Movement key" (control/alt/super) and one of mouse buttons. Button1 is mapped to move window, button2 to the window resize and button3 to display popup menu. This functionality is hardcoded and if user has only two button mouse he has to emulate the resize button by clicking left+right mouse button, which is not really easy to do. These buttons behavior should be configurable, at least for resize window button and popup menu.
I propose a boolean flag "/apps/metacity/general/mouse_button_swap_behaviour" which will swap the button2 and button3 behaviour if is set to true.