I don't know how, Francesco. The code to disable maximize makes no exception for unity. Compiz just ignores gdk_window_set_functions(), metacity and mutter don't. Window hints are too coarse and unpredictable across window managers.
In unity I can unmaximize onboard by double clicking the top bar though, which doesn't work in unity-2d. (Alt+drag, Alt-right click are still there too)
I don't know how, Francesco. The code to disable maximize makes no exception for unity. Compiz just ignores gdk_window_ set_functions( ), metacity and mutter don't. Window hints are too coarse and unpredictable across window managers.
In unity I can unmaximize onboard by double clicking the top bar though, which doesn't work in unity-2d. (Alt+drag, Alt-right click are still there too)