chiark / gitweb /
logind: add new "wayland" session type
[elogind.git] / src / login / logind-session.h
index 939476af557d8ac7c732067458164d11f4fcad30..202d28752f0ca6bea96af189fa173eebc34bc4f2 100644 (file)
@@ -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;
 
@@ -107,7 +109,6 @@ struct Session {
 
         bool in_gc_queue:1;
         bool started:1;
-        bool closing:1;
 
         sd_bus_message *create_message;