summaryrefslogtreecommitdiff
path: root/src/lx_display.c
diff options
context:
space:
mode:
authorConnor Behan <connor.behan@gmail.com>2015-12-01 18:45:59 -0500
committerMartin-Éric Racine <martin-eric.racine@iki.fi>2015-12-02 14:19:33 +0200
commitcecdf5085739649dc3b52e343c246f6c3c1dda4d (patch)
tree6ea26a8f3af80748dd7939df36a20c35998b0b66 /src/lx_display.c
parent44c508916af7a6e59d898829faaec599dbd51f4a (diff)
LX: Restore old VT switch code
Calls for enabling and disabling outputs were removed from the VT switch routine when RandR support was added. Presumably, this is because the server already sets DPMS properly on a VT switch. However, DDX code can undo what the server does so it seems best to keep the explicit calls. Closes: X.Org Bugzilla #80825 Signed-off-by: Connor Behan <connor.behan@gmail.com>
Diffstat (limited to 'src/lx_display.c')
-rw-r--r--src/lx_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lx_display.c b/src/lx_display.c
index 997d53d..6315f9f 100644
--- a/src/lx_display.c
+++ b/src/lx_display.c
@@ -39,7 +39,7 @@ typedef struct _LXOutputPrivateRec {
GeodeMemPtr rotate_mem;
} LXCrtcPrivateRec, *LXCrtcPrivatePtr;
-static void
+void
lx_enable_dac_power(ScrnInfoPtr pScrni, int option)
{
GeodeRec *pGeode = GEODEPTR(pScrni);
@@ -59,7 +59,7 @@ lx_enable_dac_power(ScrnInfoPtr pScrni, int option)
df_set_panel_enable(1);
}
-static void
+void
lx_disable_dac_power(ScrnInfoPtr pScrni, int option)
{
GeodeRec *pGeode = GEODEPTR(pScrni);