aboutsummaryrefslogtreecommitdiff
path: root/backend/session
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-06-14 21:02:32 +1200
committerScott Anderson <scott@anderso.nz>2018-06-14 21:02:32 +1200
commit964e0a50beabe03d84f042209fc019909b631e05 (patch)
treee42d3a4a84adb5486b021a77210b4437f436a265 /backend/session
parent47985d2dc56a6af469ac9375e7548136765aff16 (diff)
Check for seat0 properly
Diffstat (limited to 'backend/session')
-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;
}