summaryrefslogtreecommitdiff
path: root/src/sna/sna_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-05-22 09:40:25 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-05-22 09:42:01 +0100
commit49b7742999ee11b0c36754ea10bc5609ebe8c609 (patch)
tree4bf5fac49688d8f871a4bb9641b98ab5ceaa8399 /src/sna/sna_driver.c
parent952e3dcba3a651d22d44dbb039ad97e111d9bc63 (diff)
sna: Force config restoration after VT switch
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r--src/sna/sna_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index c213ff47..9ec3ecfc 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -728,8 +728,8 @@ static void sna_leave_vt(int scrnIndex, int flags)
DBG(("%s\n", __FUNCTION__));
xf86RotateFreeShadow(scrn);
-
xf86_hide_cursors(scrn);
+ sna_mode_remove_fb(sna);
ret = drmDropMaster(sna->kgem.fd);
if (ret)