lib/linux: set a minimum window width for better transitions between windows