summaryrefslogtreecommitdiff
path: root/tests/src/unity-system-compositor.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2015-11-26 10:52:36 +1300
committerRobert Ancell <robert.ancell@canonical.com>2015-11-26 10:52:36 +1300
commit4433176405cb71b7df1e76009d617c5cb541e36a (patch)
treea84cb235999a3690ea79fd83b2e27851b77ccb6d /tests/src/unity-system-compositor.c
parent3fbda968c9740f8a58d1a7729b9cd6cc8d9aa212 (diff)
downloadlightdm-4433176405cb71b7df1e76009d617c5cb541e36a.tar.gz
Don't enable the hardware cursor in Unity System Compositor anymore. Unity 8 now correctly provides its own cursor and other shells should too
Diffstat (limited to 'tests/src/unity-system-compositor.c')
-rw-r--r--tests/src/unity-system-compositor.c5
1 files changed, 0 insertions, 5 deletions
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)