diff options
author | Scott Anderson <scott@anderso.nz> | 2019-05-15 04:34:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 04:34:08 +0000 |
commit | 522ddd93f145533055ab889ef3a540c550c18008 (patch) | |
tree | 69f86b1ce7fccf36405998eb7f126566904f10fa | |
parent | a68c7c0c8d741074f60fb5ab9d2d2ff0841c6e3e (diff) | |
parent | 90c284bded5b7630600c2e8e06a81c8e871799ac (diff) |
Merge pull request #1696 from RedSoxFan/logind-stay-active-on-gone
session/logind: keep active for pause_device gone
-rw-r--r-- | backend/session/logind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c index 8f4e328d..03db78f0 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -274,7 +274,7 @@ static int pause_device(sd_bus_message *msg, void *userdata, goto error; } - if (major == DRM_MAJOR) { + if (major == DRM_MAJOR && strcmp(type, "gone") != 0) { assert(session->has_drm); session->base.active = false; wlr_signal_emit_safe(&session->base.session_signal, session); |