* Save the current display mode when changing it from the dock (cherry picked from commit f6b39827b1)
f6b39827b1