aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/session/direct.c2
1 files changed, 1 insertions, 1 deletions
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;
}