Lines 154-167
ply_seat_open (ply_seat_t *seat
|
Link Here
|
---|
|
154 |
add_pixel_displays (seat); |
154 |
add_pixel_displays (seat); |
155 |
|
155 |
|
156 |
} |
156 |
} |
157 |
else |
157 |
else if (seat->terminal != NULL) |
158 |
{ |
158 |
{ |
159 |
seat->keyboard = ply_keyboard_new_for_terminal (seat->terminal); |
159 |
seat->keyboard = ply_keyboard_new_for_terminal (seat->terminal); |
160 |
} |
160 |
} |
161 |
add_text_displays (seat); |
161 |
if (seat->terminal != NULL) |
|
|
162 |
{ |
163 |
add_text_displays (seat); |
164 |
} |
165 |
else |
166 |
{ |
167 |
ply_trace ("not adding text display for seat, since seat has no associated terminal"); |
168 |
} |
162 |
|
169 |
|
163 |
ply_keyboard_watch_for_input (seat->keyboard); |
170 |
if (seat->keyboard != NULL) |
164 |
seat->keyboard_active = true; |
171 |
{ |
|
|
172 |
ply_keyboard_watch_for_input (seat->keyboard); |
173 |
seat->keyboard_active = true; |
174 |
} |
175 |
else |
176 |
{ |
177 |
ply_trace ("not watching seat for input"); |
178 |
} |
165 |
|
179 |
|
166 |
return true; |
180 |
return true; |
167 |
} |
181 |
} |