chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: make session type and class settable via the same ways
[elogind.git]
/
src
/
login
/
logind-session.h
diff --git
a/src/login/logind-session.h
b/src/login/logind-session.h
index aab39b72e3594365b6675af09c550137bc6806f0..202d28752f0ca6bea96af189fa173eebc34bc4f2 100644
(file)
--- a/
src/login/logind-session.h
+++ b/
src/login/logind-session.h
@@
-54,6
+54,7
@@
typedef enum SessionType {
SESSION_UNSPECIFIED,
SESSION_TTY,
SESSION_X11,
SESSION_UNSPECIFIED,
SESSION_TTY,
SESSION_X11,
+ SESSION_WAYLAND,
_SESSION_TYPE_MAX,
_SESSION_TYPE_INVALID = -1
} SessionType;
_SESSION_TYPE_MAX,
_SESSION_TYPE_INVALID = -1
} SessionType;
@@
-69,6
+70,7
@@
struct Session {
Manager *manager;
char *id;
Manager *manager;
char *id;
+ unsigned int pos;
SessionType type;
SessionClass class;
SessionType type;
SessionClass class;
@@
-90,7
+92,7
@@
struct Session {
char *scope_job;
Seat *seat;
char *scope_job;
Seat *seat;
- int vtnr;
+
unsigned
int vtnr;
int vtfd;
sd_event_source *vt_source;
int vtfd;
sd_event_source *vt_source;
@@
-107,7
+109,6
@@
struct Session {
bool in_gc_queue:1;
bool started:1;
bool in_gc_queue:1;
bool started:1;
- bool closing:1;
sd_bus_message *create_message;
sd_bus_message *create_message;