mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
67b9b42820
closes #1596
36 lines
1,020 B
Diff
36 lines
1,020 B
Diff
From b3a2e9d5109d7e020a47f109938409272196d23f Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Thu, 14 Jun 2018 11:59:02 -0600
|
|
Subject: [PATCH 3/3] Initialize XRandR before EnterVT
|
|
|
|
---
|
|
src/armsoc_driver.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/src/armsoc_driver.c b/src/armsoc_driver.c
|
|
index d8d82a1..7914d1c 100644
|
|
--- a/src/armsoc_driver.c
|
|
+++ b/src/armsoc_driver.c
|
|
@@ -1125,6 +1125,9 @@ ARMSOCScreenInit(SCREEN_INIT_ARGS_DECL)
|
|
*/
|
|
pScrn->vtSema = TRUE;
|
|
|
|
+ /* Do some XRandR initialization. Return value is not useful */
|
|
+ (void)xf86CrtcScreenInit(pScreen);
|
|
+
|
|
/* Take over the virtual terminal from the console, set the
|
|
* desired mode, etc.:
|
|
*/
|
|
@@ -1133,9 +1136,6 @@ ARMSOCScreenInit(SCREEN_INIT_ARGS_DECL)
|
|
goto fail6;
|
|
}
|
|
|
|
- /* Do some XRandR initialization. Return value is not useful */
|
|
- (void)xf86CrtcScreenInit(pScreen);
|
|
-
|
|
if (!miCreateDefColormap(pScreen)) {
|
|
ERROR_MSG("Cannot create colormap!");
|
|
goto fail7;
|
|
--
|
|
2.16.2
|
|
|