chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
machined: allow registering host-side network interfaces for communication with conta...
[elogind.git]
/
src
/
login
/
logind-session.h
diff --git
a/src/login/logind-session.h
b/src/login/logind-session.h
index f78f30956d2ba9b1d05bc3834f696b2ab512664c..81957dfa78d6f6c74ba025daaacbc4e04f3089a3 100644
(file)
--- 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,