Update the pager when window stacking changes.