Merge "Update window threshold in both directions" into ub-launcher3-master