Use init display index as the primary index.
But when displays changed, the primary display may also changes.
No need to change the old primary index.
But we need to make sure that the old primary index does not exceed the display number.
Signed-off-by: fufesou <linlong1266@gmail.com>