]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Send --enable-hardware-cursor=true instead
authorRobert Ancell <robert.ancell@canonical.com>
Wed, 19 Mar 2014 21:35:22 +0000 (10:35 +1300)
committerRobert Ancell <robert.ancell@canonical.com>
Wed, 19 Mar 2014 21:35:22 +0000 (10:35 +1300)
src/unity-system-compositor.c
tests/src/unity-system-compositor.c

index ec21664060100783ea5de8d4030cc4a05c1235a9..94662ff708c56b257ce67d658b047fa5c796e90e 100644 (file)
@@ -428,7 +428,7 @@ unity_system_compositor_start (DisplayServer *server)
     if (compositor->priv->vt > 0)
         g_string_append_printf (command, " --vt %d", compositor->priv->vt);
     if (compositor->priv->enable_hardware_cursor)
-        g_string_append (command, " --enable-hardware-cursor");
+        g_string_append (command, " --enable-hardware-cursor=true");
     process_set_command (compositor->priv->process, command->str);
     g_string_free (command, TRUE);
 
index 8395ea428ecfc3d25e66fc5bb64073bdfed4a3bd..7b75bc38c91af7d8b5dd3bd53d9d7cbb63120a31 100644 (file)
@@ -179,7 +179,7 @@ main (int argc, char **argv)
             vt_number = atoi (argv[i+1]);
             i++;
         }
-        else if (strcmp (arg, "--enable-hardware-cursor") == 0)
+        else if (strcmp (arg, "--enable-hardware-cursor=true") == 0)
             enable_hardware_cursor = TRUE;
         else if (strcmp (arg, "--file") == 0)
         {