diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scripts/mir-autologin.conf | 2 | ||||
-rw-r--r-- | tests/scripts/mir-container-session.conf | 2 | ||||
-rw-r--r-- | tests/scripts/mir-greeter.conf | 2 | ||||
-rw-r--r-- | tests/scripts/mir-script-hooks.conf | 2 | ||||
-rw-r--r-- | tests/scripts/mir-session-compositor-crash.conf | 2 | ||||
-rw-r--r-- | tests/scripts/mir-session-crash.conf | 2 | ||||
-rw-r--r-- | tests/scripts/mir-session.conf | 2 | ||||
-rw-r--r-- | tests/src/unity-system-compositor.c | 5 |
8 files changed, 7 insertions, 12 deletions
diff --git a/tests/scripts/mir-autologin.conf b/tests/scripts/mir-autologin.conf index 072aafa7..766533d0 100644 --- a/tests/scripts/mir-autologin.conf +++ b/tests/scripts/mir-autologin.conf @@ -10,7 +10,7 @@ user-session=mir #?RUNNER DAEMON-START # System compositor starts -#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 ENABLE-HARDWARE-CURSOR=TRUE XDG_VTNR=7 +#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 XDG_VTNR=7 #?*UNITY-SYSTEM-COMPOSITOR READY # Session starts diff --git a/tests/scripts/mir-container-session.conf b/tests/scripts/mir-container-session.conf index 1e32d5ec..67cc4f46 100644 --- a/tests/scripts/mir-container-session.conf +++ b/tests/scripts/mir-container-session.conf @@ -30,7 +30,7 @@ user-session=mir-container #?*GREETER-X-0 START-SESSION # System compositor starts -#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=8 ENABLE-HARDWARE-CURSOR=TRUE XDG_VTNR=8 CONTAINER=TRUE +#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=8 XDG_VTNR=8 CONTAINER=TRUE #?*UNITY-SYSTEM-COMPOSITOR READY # Switch to system compositor diff --git a/tests/scripts/mir-greeter.conf b/tests/scripts/mir-greeter.conf index 46abe355..05ec6f58 100644 --- a/tests/scripts/mir-greeter.conf +++ b/tests/scripts/mir-greeter.conf @@ -6,7 +6,7 @@ #?RUNNER DAEMON-START # System compositor starts -#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 ENABLE-HARDWARE-CURSOR=TRUE XDG_VTNR=7 +#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 XDG_VTNR=7 #?*UNITY-SYSTEM-COMPOSITOR READY # Greeter starts diff --git a/tests/scripts/mir-script-hooks.conf b/tests/scripts/mir-script-hooks.conf index 63dec803..0e24bfbb 100644 --- a/tests/scripts/mir-script-hooks.conf +++ b/tests/scripts/mir-script-hooks.conf @@ -15,7 +15,7 @@ user-session=mir #?RUNNER DAEMON-START # System compositor starts -#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 ENABLE-HARDWARE-CURSOR=TRUE XDG_VTNR=7 +#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 XDG_VTNR=7 #?*UNITY-SYSTEM-COMPOSITOR READY # Script hooks run diff --git a/tests/scripts/mir-session-compositor-crash.conf b/tests/scripts/mir-session-compositor-crash.conf index 1bdd0b4c..0486857f 100644 --- a/tests/scripts/mir-session-compositor-crash.conf +++ b/tests/scripts/mir-session-compositor-crash.conf @@ -10,7 +10,7 @@ user-session=mir #?RUNNER DAEMON-START # System compositor starts -#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 ENABLE-HARDWARE-CURSOR=TRUE XDG_VTNR=7 +#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 XDG_VTNR=7 #?*UNITY-SYSTEM-COMPOSITOR READY # Session starts diff --git a/tests/scripts/mir-session-crash.conf b/tests/scripts/mir-session-crash.conf index 369b3c33..7e55a087 100644 --- a/tests/scripts/mir-session-crash.conf +++ b/tests/scripts/mir-session-crash.conf @@ -10,7 +10,7 @@ user-session=mir #?RUNNER DAEMON-START # System compositor starts -#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 ENABLE-HARDWARE-CURSOR=TRUE XDG_VTNR=7 +#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=7 XDG_VTNR=7 #?*UNITY-SYSTEM-COMPOSITOR READY # Session starts diff --git a/tests/scripts/mir-session.conf b/tests/scripts/mir-session.conf index 6c192f3b..852a40fb 100644 --- a/tests/scripts/mir-session.conf +++ b/tests/scripts/mir-session.conf @@ -30,7 +30,7 @@ user-session=mir #?*GREETER-X-0 START-SESSION # System compositor starts -#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=8 ENABLE-HARDWARE-CURSOR=TRUE XDG_VTNR=8 +#?UNITY-SYSTEM-COMPOSITOR START FILE=/run/lightdm-mir-0 VT=8 XDG_VTNR=8 #?*UNITY-SYSTEM-COMPOSITOR READY # Switch to system compositor diff --git a/tests/src/unity-system-compositor.c b/tests/src/unity-system-compositor.c index 15f68622..f138aaa3 100644 --- a/tests/src/unity-system-compositor.c +++ b/tests/src/unity-system-compositor.c @@ -147,7 +147,6 @@ main (int argc, char **argv) GString *status_text; gboolean test = FALSE, container = FALSE; int vt_number = -1; - gboolean enable_hardware_cursor = FALSE; const gchar *file = NULL; #if !defined(GLIB_VERSION_2_36) @@ -180,8 +179,6 @@ main (int argc, char **argv) vt_number = atoi (argv[i+1]); i++; } - else if (strcmp (arg, "--enable-hardware-cursor=true") == 0) - enable_hardware_cursor = TRUE; else if (strcmp (arg, "--file") == 0) { file = argv[i+1]; @@ -202,8 +199,6 @@ main (int argc, char **argv) g_string_append_printf (status_text, " FILE=%s", file); if (vt_number >= 0) g_string_append_printf (status_text, " VT=%d", vt_number); - if (enable_hardware_cursor) - g_string_append (status_text, " ENABLE-HARDWARE-CURSOR=TRUE"); if (g_getenv ("XDG_VTNR")) g_string_append_printf (status_text, " XDG_VTNR=%s", g_getenv ("XDG_VTNR")); if (test) |