From: tachylatus Date: Thu, 30 Jan 2014 17:42:25 +0000 (+0100) Subject: Revert "Apply normal rotation unless another one is set" X-Git-Tag: 1.0~140^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=02250278869bc1a787a1f36f3fa968b50bb36eff;p=deb_pkgs%2Fautorandr.git Revert "Apply normal rotation unless another one is set" This reverts commit 007920e83cf934f765d4424fab8148c9611eaacc. --- diff --git a/autorandr b/autorandr index 1635ce5..e5f8a6e 100755 --- a/autorandr +++ b/autorandr @@ -135,13 +135,12 @@ current_cfg_xrandr() { if (($4 == "left") || ($4 == "right")) { split(A[1], B, "x"); A[1] = B[2]"x"B[1]; - print "rotate "$4; - } - else { - print "rotate normal"; } print "mode "A[1]; print "pos "A[2]"x"A[3]; + if ($4 !~ /^\(/) { + print "rotate "$4; + } next; } # disconnected or disabled displays