summaryrefslogtreecommitdiff
path: root/src/sna/sna_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-06-16 23:49:06 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-06-17 09:20:33 +0100
commit39f0b0ae17d00402971bb62555d3807bdf39ee93 (patch)
tree931909aa4da4e4f25e8514d44d41e6dabe75c57f /src/sna/sna_driver.c
parent37ba33f502af0878f6cb75f890c9fe288d0f7e41 (diff)
sna: Copy the fbcon contents onto the front buffer upon X startup
This patch has been carried by the distributions every since they started doing graphical boot splashes. Time to integrate it and give it some TLC. 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, 2 insertions, 0 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 99701771..ee7a8aeb 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -200,6 +200,8 @@ static Bool sna_create_screen_resources(ScreenPtr screen)
if (!sna_accel_create(sna))
goto cleanup_front;
+ sna_copy_fbcon(sna);
+
if (!sna_enter_vt(screen->myNum, 0))
goto cleanup_front;