~antarus/lightdm/bug1108518

« back to all changes in this revision

Viewing changes to src/seat-xvnc.c

  • Committer: Robert Ancell
  • Date: 2012-11-28 03:59:16 UTC
  • Revision ID: robert.ancell@canonical.com-20121128035916-srery7lz21x6hqv0
Correctly work out the active display from the active VT when it exits so a greeter starts

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
}
105
105
 
106
106
static void
107
 
seat_xvnc_display_removed (Seat *seat, Display *display)
108
 
{
109
 
    seat_stop (seat);
110
 
}
111
 
 
112
 
static void
113
107
seat_xvnc_init (SeatXVNC *seat)
114
108
{
115
109
    seat->priv = G_TYPE_INSTANCE_GET_PRIVATE (seat, SEAT_XVNC_TYPE, SeatXVNCPrivate);
136
130
    seat_class->create_display_server = seat_xvnc_create_display_server;
137
131
    seat_class->create_session = seat_xvnc_create_session;
138
132
    seat_class->run_script = seat_xvnc_run_script;
139
 
    seat_class->display_removed = seat_xvnc_display_removed;
140
133
    object_class->finalize = seat_xdmcp_session_finalize;
141
134
 
142
135
    g_type_class_add_private (klass, sizeof (SeatXVNCPrivate));