diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-06-24 18:16:42 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-06-24 18:16:42 -0400 |
commit | e8c0996b93c2d184d9d68ae4bee92dd4c469685c (patch) | |
tree | de9e94484a8f341836231af6d8a7daa3cd32d06e /backend/session/logind.c | |
parent | 28d718c0ddd8f2ba083be374f3d97e4836f615d9 (diff) | |
parent | e459fe0ec713ea65b35b966f9bb3c6c70c9504aa (diff) |
Merge branch 'master' into cancel-grab-on-focus-change
Diffstat (limited to 'backend/session/logind.c')
-rw-r--r-- | backend/session/logind.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c index f0ac1e93..3a3cc57d 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -109,6 +109,11 @@ static void logind_release_device(struct wlr_session *base, int fd) { static bool logind_change_vt(struct wlr_session *base, unsigned vt) { struct logind_session *session = wl_container_of(base, session, base); + // Only seat0 has VTs associated with it + if (strcmp(session->base.seat, "seat0") != 0) { + return true; + } + int ret; sd_bus_message *msg = NULL; sd_bus_error error = SD_BUS_ERROR_NULL; |