Multiseat fixes

This commit is contained in:
Scott Anderson 2018-06-14 20:46:16 +12:00
parent 9a1f0e2d5f
commit 47985d2dc5
5 changed files with 50 additions and 29 deletions

View file

@ -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;