X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-session.h;h=202d28752f0ca6bea96af189fa173eebc34bc4f2;hb=49ebd11fb0ea6af249990439bf0690641e8be559;hp=aab39b72e3594365b6675af09c550137bc6806f0;hpb=90a18413f8be577a649900eca977e060273f2b5b;p=elogind.git diff --git a/src/login/logind-session.h b/src/login/logind-session.h index aab39b72e..202d28752 100644 --- 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_WAYLAND, _SESSION_TYPE_MAX, _SESSION_TYPE_INVALID = -1 } SessionType; @@ -69,6 +70,7 @@ struct Session { Manager *manager; char *id; + unsigned int pos; SessionType type; SessionClass class; @@ -90,7 +92,7 @@ struct Session { char *scope_job; Seat *seat; - int vtnr; + unsigned int vtnr; int vtfd; sd_event_source *vt_source; @@ -107,7 +109,6 @@ struct Session { bool in_gc_queue:1; bool started:1; - bool closing:1; sd_bus_message *create_message;