diff options
author | Richard Hansen <rhansen@rhansen.org> | 2023-04-17 15:45:14 -0400 |
---|---|---|
committer | Robert Ancell <robert.ancell@gmail.com> | 2023-04-28 13:34:51 +1200 |
commit | c84feb03279e7b1993e5307d4542e02bd5475629 (patch) | |
tree | cb0f429fa1e847f4558c736d442d8796bacb1863 /src/seat-local.c | |
parent | 967f16c230ae270324b7553dff0ab9395adc47e6 (diff) | |
download | lightdm-git-c84feb03279e7b1993e5307d4542e02bd5475629.tar.gz |
Move supports_multi_session initialization to init
This makes it possible to use seat_set_supports_multi_session to
change the support status after the seat is created but before it is
started.
Diffstat (limited to 'src/seat-local.c')
-rw-r--r-- | src/seat-local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seat-local.c b/src/seat-local.c index 387d7353..dc7a4508 100644 --- a/src/seat-local.c +++ b/src/seat-local.c @@ -56,7 +56,6 @@ xdmcp_x_server_stopped_cb (DisplayServer *display_server, SeatLocal *seat) static gboolean seat_local_start (Seat *seat) { - seat_set_supports_multi_session (seat, TRUE); seat_set_share_display_server (seat, seat_get_boolean_property (seat, "xserver-share")); SeatLocalPrivate *priv = seat_local_get_instance_private (SEAT_LOCAL (seat)); @@ -320,6 +319,7 @@ seat_local_stop (Seat *seat) static void seat_local_init (SeatLocal *seat) { + seat_set_supports_multi_session (SEAT (seat), TRUE); } static void |