mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Multiseat fixes
This commit is contained in:
parent
9a1f0e2d5f
commit
47985d2dc5
5 changed files with 50 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue