Turn off hardware cursors on VT switch before dropping DRM master.
Turn off hardware cursors on VT switch before dropping DRM master.

The DRM cursor ioctl requires DRM master.  We shouldn't drop
master until after we're done turning off the hardware cursors
for a VT switch.

Signed-off-by: Matt Roper <f1605a76cb9f6387d99228a0a9260318379b62de@intel.com>

eyolfson/weston,kwm81/weston,Fantu/compositor-spice,jonnylamb/weston,Gnurou/weston,Fantu/compositor-spice,Gnurou/weston,Tarnyko/weston-xdg_surface_present,krezovic/weston,sir-murray/weston,udoprog/weston,sir-murray/weston,giucam/weston,jonnylamb/weston,Tarnyko/weston-xdg_surface_present,kwm81/weston,xorgy/weston,udoprog/weston,mchalupa/weston,giucam/weston,krezovic/weston,xorgy/weston,eyolfson/weston,mchalupa/weston,Fantu/compositor-spice