On Tue, Jun 14, 2016 at 05:36:16PM -0700, Keith Packard wrote: > When there aren't any devices, the input thread is going to be pretty > lonely, so don't bother to even start it. > > Signed-off-by: Keith Packard <[email protected]> > --- > hw/kdrive/src/kinput.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c > index 473dc70..2c39624 100644 > --- a/hw/kdrive/src/kinput.c > +++ b/hw/kdrive/src/kinput.c > @@ -1305,7 +1305,8 @@ KdInitInput(void) > KdKeyboardInfo *ki; > struct KdConfigDevice *dev; > > - InputThreadPreInit(); > + if (kdConfigPointers || kdConfigKeyboards) > + InputThreadPreInit(); > > kdInputEnabled = TRUE; > > -- > 2.8.1
remote: Updating patchwork state for https://patchwork.freedesktop.org/project/Xorg/list/ remote: I: patch #93358 updated using rev fa7b70a9b895789ec57562bbba0bc052fc91d134. remote: I: 1 patch(es) updated to state Accepted. To git+ssh://[email protected]/git/xorg/xserver 6f2a5b8..fa7b70a master -> master Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
