summaryrefslogtreecommitdiff
path: root/src/login/logind-session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/logind-session.h')
-rw-r--r--src/login/logind-session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/logind-session.h b/src/login/logind-session.h
index f78f30956d..81957dfa78 100644
--- a/src/login/logind-session.h
+++ b/src/login/logind-session.h
@@ -60,6 +60,8 @@ typedef enum SessionType {
_SESSION_TYPE_INVALID = -1
} SessionType;
+#define SESSION_TYPE_IS_GRAPHICAL(type) IN_SET(type, SESSION_X11, SESSION_WAYLAND, SESSION_MIR)
+
enum KillWho {
KILL_LEADER,
KILL_ALL,