roguichou/mx — comment on commit 76b5649083bb277c860eeac0a2672ffaeeab0da7
File: mx/mx-menu.c line 408
By thos:

I don't think it's necessary to store the previous allocation. Allocate isn't called very often and the cost of calculating the correct value for scrolling_mode is fairly low.