From ac5d64e0adeebf34c3b8fb94bcc09e9d8b5b8e36 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@debian.org>
Date: Wed, 18 Jul 2012 18:46:17 +0200
Source: acpi-support
Version: 0.140-5
Status: applied
Debbug: 682012
Subject: [PATCH] Use XRANDR_OUTPUT variable when switching the display back
 on too

---
 debian/patches/lid.sh.diff |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/lid.sh.diff b/debian/patches/lid.sh.diff
index 13ea25c..1b2db15 100644
--- a/debian/patches/lid.sh.diff
+++ b/debian/patches/lid.sh.diff
@@ -57,7 +57,7 @@
 +			su $XUSER -s /bin/sh -c "xset dpms force on"
 +			;;
 +		xrandr)
-+			su $XUSER -s /bin/sh -c "xrandr --output LVDS --auto"
++			su $XUSER -s /bin/sh -c "xrandr --output $XRANDR_OUTPUT --auto"
 +			;;
 +		vbetool)
 +			/usr/sbin/vbetool dpms on
-- 
1.7.10.4

