summaryrefslogtreecommitdiffstats
path: root/src/shared/user-record.h
diff options
context:
space:
mode:
authorAdrian Vovk <adrianvovk@gmail.com>2024-02-05 01:21:29 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-03-01 17:28:10 +0100
commit793ceda177a40e16933b74542c3f8d13ff27d56e (patch)
treef80957fb0e7853a4443eef26fa8ab0a6282ccedd /src/shared/user-record.h
parenttree-wide: switch dlopen hooks over to DLSYM_PROTOTYPE()/DLSYM_FUNCTION() (diff)
downloadsystemd-793ceda177a40e16933b74542c3f8d13ff27d56e.tar.xz
systemd-793ceda177a40e16933b74542c3f8d13ff27d56e.zip
user-record: Add preferredSession{Type,Launcher}
These will be used by display managers to pre-select the user's preferred desktop environment and display server type. On homed, the display manager will also be able to set these fields to cache the user's last selection.
Diffstat (limited to 'src/shared/user-record.h')
-rw-r--r--src/shared/user-record.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/user-record.h b/src/shared/user-record.h
index 1819f55489..cca112f5fe 100644
--- a/src/shared/user-record.h
+++ b/src/shared/user-record.h
@@ -351,6 +351,9 @@ typedef struct UserRecord {
int auto_login;
int drop_caches;
+ char *preferred_session_type;
+ char *preferred_session_launcher;
+
uint64_t stop_delay_usec; /* How long to leave systemd --user around on log-out */
int kill_processes; /* Whether to kill user processes forcibly on log-out */