summaryrefslogtreecommitdiff
path: root/bin
diff options
authorPo-Hsu Lin <po-hsu.lin@canonical.com>2015-10-23 10:49:25 +0800
committerPo-Hsu Lin <po-hsu.lin@canonical.com>2015-10-23 10:49:25 +0800
commit78f68b1366e99304877ce81376bc3571529fbf5a (patch)
treee9cfe7681171b34d038e8ba38e02fcb3d384c852 /bin
parent8c66c6ad60e1c675da288ae172b3ea610361dca5 (diff)
provider:checkbox: Make the rotation sequence more reasonable.
Make the rotation more close to user behaviour, from normal to each orientation, instead of cycling through them.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rotation_test_using_dbus12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/rotation_test_using_dbus b/bin/rotation_test_using_dbus
index aa19223..9e62daa 100755
--- a/bin/rotation_test_using_dbus
+++ b/bin/rotation_test_using_dbus
@@ -30,12 +30,12 @@ rotate() {
dbus-send --session --print-reply --dest=org.gnome.SettingsDaemon /org/gnome/SettingsDaemon/XRANDR org.gnome.SettingsDaemon.XRANDR_2.RotateTo int32:$1 int64:0 > /dev/null 2>&1
}
-# Rotate the screen in the following modes:
-# - left
-# - inverted
-# - right
-# - normal
-for i in 2 4 8 1
+# Rotate the screen in-between the following modes and the normal mode:
+# 2 - left
+# 4 - inverted
+# 8 - right
+# 1 - normal
+for i in 2 1 4 1 8 1
do
rotate $i
sleep 4