Display hotplugs don't reliably mean that the display was actually physically unplugged,it can also just be a dock or monitor acting weird. To fix that / work around it, thisonly triggers the action if there's still no display after 2s.
(cherry picked from commit 9907c8a2)
Co-authored-by: Xaver Hugl xaver.hugl@gmail.com