summaryrefslogtreecommitdiff
path: root/src/x-server.h
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2023-01-28 03:24:26 +0100
committerRobert Ancell <robert.ancell@gmail.com>2023-04-26 16:48:32 +1200
commit75bf8fb062e3f409d6252449dae631440aa95b72 (patch)
treeef7a6dc9658c3bfe7a657d7f29bf2e43755383e3 /src/x-server.h
parentc2ee2b96eeb880ab5b463e8cbef940bcfc0fa661 (diff)
downloadlightdm-git-75bf8fb062e3f409d6252449dae631440aa95b72.tar.gz
x-server: Avoid reusing the local X server if the hostname has changed
If the hostname has changed while using a local seat, we will fail to connect and return to the greeter. Avoid this behavior by recreating the server.
Diffstat (limited to 'src/x-server.h')
-rw-r--r--src/x-server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/x-server.h b/src/x-server.h
index 18b91634..4d125b28 100644
--- a/src/x-server.h
+++ b/src/x-server.h
@@ -55,6 +55,8 @@ gsize x_server_get_authentication_data_length (XServer *server);
void x_server_set_authority (XServer *server, XAuthority *authority);
+void x_server_set_local_authority (XServer *server);
+
XAuthority *x_server_get_authority (XServer *server);
G_END_DECLS