Univention Bugzilla – Attachment 8945 Details for
Bug 44061
univention-welcome-screen does not work on virtualbox and vmware
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0.9.2~23: seat: be a little more forgiving in the case there's no open terminal
44061-seat-be-a-little-more-forgiving-in-the-case-there-s-.patch (text/plain), 1.69 KB, created by
Philipp Hahn
on 2017-06-21 12:04:08 CEST
(
hide
)
Description:
0.9.2~23: seat: be a little more forgiving in the case there's no open terminal
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2017-06-21 12:04:08 CEST
Size:
1.69 KB
patch
obsolete
>From 84eb4381db85877a9a56b35994e6c10d43e46ebe Mon Sep 17 00:00:00 2001 >Message-Id: <84eb4381db85877a9a56b35994e6c10d43e46ebe.1498038081.git.hahn@univention.de> >From: Ray Strode <rstrode@redhat.com> >Date: Mon, 14 Jul 2014 08:04:54 -0400 >Subject: [PATCH] seat: be a little more forgiving in the case there's no open > terminal >Organization: Univention GmbH, Bremen, Germany > >We can end up in a situation where a seat object doesn't have a terminal >associated with it. In that case we shouldn't crash, but continue on >with no input available for that seat. > >https://bugs.freedesktop.org/show_bug.cgi?id=80553 >--- > src/libply-splash-core/ply-seat.c | 17 +++++++++++++---- > 1 file changed, 13 insertions(+), 4 deletions(-) > >Index: plymouth-0.9.0/src/libply-splash-core/ply-seat.c >=================================================================== >--- plymouth-0.9.0.orig/src/libply-splash-core/ply-seat.c >+++ plymouth-0.9.0/src/libply-splash-core/ply-seat.c >@@ -154,14 +154,28 @@ ply_seat_open (ply_seat_t *seat > add_pixel_displays (seat); > > } >- else >+ else if (seat->terminal != NULL) > { > seat->keyboard = ply_keyboard_new_for_terminal (seat->terminal); > } >- add_text_displays (seat); >+ if (seat->terminal != NULL) >+ { >+ add_text_displays (seat); >+ } >+ else >+ { >+ ply_trace ("not adding text display for seat, since seat has no associated terminal"); >+ } > >- ply_keyboard_watch_for_input (seat->keyboard); >- seat->keyboard_active = true; >+ if (seat->keyboard != NULL) >+ { >+ ply_keyboard_watch_for_input (seat->keyboard); >+ seat->keyboard_active = true; >+ } >+ else >+ { >+ ply_trace ("not watching seat for input"); >+ } > > return true; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44061
:
8732
|
8767
| 8945 |
8946