aboutsummaryrefslogtreecommitdiff
path: root/backend/session/session.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-01-21 15:09:33 -0500
committerTony Crisci <tony@dubstepdish.com>2018-01-21 15:09:33 -0500
commit7474f005917fbb98cad08e8078c1da0c27742174 (patch)
tree276559dbe3c24ecc6626258132666ae736427a36 /backend/session/session.c
parent61bd79200cc3892b143b7321886db77e97c9f69f (diff)
parent79f2c8719364529056229b99bf9e49a994699fe7 (diff)
Merge branch 'master' into decorations
Diffstat (limited to 'backend/session/session.c')
-rw-r--r--backend/session/session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/session/session.c b/backend/session/session.c
index a5f17b8d..2bbbd4ef 100644
--- a/backend/session/session.c
+++ b/backend/session/session.c
@@ -307,8 +307,9 @@ size_t wlr_session_find_gpus(struct wlr_session *session,
}
const char *seat = udev_device_get_property_value(dev, "ID_SEAT");
- if (!seat)
+ if (!seat) {
seat = "seat0";
+ }
if (session->seat[0] && strcmp(session->seat, seat) != 0) {
udev_device_unref(dev);
continue;