]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - src/seat-xlocal.c
Only seat0 takes VT from Plymouth
[sojka/lightdm.git] / src / seat-xlocal.c
index 3064efcb865bf347fc2da5334301477ce2b90b41..c9dd8cf4950437053649c138baa9fe564aa7ecdc 100644 (file)
@@ -62,7 +62,7 @@ get_vt (Seat *seat, DisplayServer *display_server)
 {
     gint vt = -1;
     const gchar *xdg_seat = seat_get_name (seat);
-    if (g_strcmp (xdg_seat, "seat0") != 0)
+    if (strcmp (xdg_seat, "seat0") != 0)
         return vt;
 
     /* If Plymouth is running, stop it */