Code looks good and works ok. But please add a manual-test describing how to test this (lowering the resolution below the 1024x600 threshold with the system-settings for the display). Also the note about the automaximize-threshold set to 20 in ccsm (experimental-tab of unity-plugin) should be added. Otherwise the tester might be confused and assuming this fix doesn't work.
Code looks good and works ok. But please add a manual-test describing how to test this (lowering the resolution below the 1024x600 threshold with the system-settings for the display). Also the note about the automaximize- threshold set to 20 in ccsm (experimental-tab of unity-plugin) should be added. Otherwise the tester might be confused and assuming this fix doesn't work.