diff --git a/compositor/compositor-openwfd.c b/compositor/compositor-openwfd.c index 21695abd..c507ad93 100644 --- a/compositor/compositor-openwfd.c +++ b/compositor/compositor-openwfd.c @@ -689,7 +689,7 @@ backend_init(struct wl_display *display, char *options) seat = value; break; case 2: - tty = value; + tty = strtol(value, NULL, 0); break; } }