summaryrefslogtreecommitdiff
path: root/src/login/logind-session.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-07-10 15:08:24 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-07-10 15:25:44 +0200
commite6494a07cbbfa93dd83782fa1f8554aa4d2353bd (patch)
treeb5bd8d81b7d861e52c46dd61480a41958df4368e /src/login/logind-session.h
parentcc85d56245a21e458dbc955fbf94fa9b3bfb9e33 (diff)
logind: rename 'pos' to 'position'
Spell out the proper name. Use 'pos' over 'position', and also update the logind state file to do the same. Note that this breaks live updates. However, we only save 'POSITION' on non-seat0, so this shouldn't bother anyone for real. If you run multi-seat setups, you better restart a machine on updates, anyway.
Diffstat (limited to 'src/login/logind-session.h')
-rw-r--r--src/login/logind-session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-session.h b/src/login/logind-session.h
index 4bf739a44d..b8565ebf51 100644
--- a/src/login/logind-session.h
+++ b/src/login/logind-session.h
@@ -70,7 +70,7 @@ struct Session {
Manager *manager;
const char *id;
- unsigned int pos;
+ unsigned int position;
SessionType type;
SessionClass class;