diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2023-01-28 03:24:26 +0100 |
---|---|---|
committer | Robert Ancell <robert.ancell@gmail.com> | 2023-04-26 16:48:32 +1200 |
commit | 75bf8fb062e3f409d6252449dae631440aa95b72 (patch) | |
tree | ef7a6dc9658c3bfe7a657d7f29bf2e43755383e3 /src/x-server.h | |
parent | c2ee2b96eeb880ab5b463e8cbef940bcfc0fa661 (diff) | |
download | lightdm-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.h | 2 |
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 |