From 964e0a50beabe03d84f042209fc019909b631e05 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Thu, 14 Jun 2018 21:02:32 +1200 Subject: Check for seat0 properly --- backend/session/direct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/session') diff --git a/backend/session/direct.c b/backend/session/direct.c index c1a59647..7fa7d05b 100644 --- a/backend/session/direct.c +++ b/backend/session/direct.c @@ -79,7 +79,7 @@ static bool direct_change_vt(struct wlr_session *base, unsigned vt) { struct direct_session *session = wl_container_of(base, session, base); // Only seat0 has VTs associated with it - if (strcmp(session->base.seat, "seat0") == 0) { + if (strcmp(session->base.seat, "seat0") != 0) { return true; } -- cgit v1.2.3