]>
Commit | Line | Data |
---|---|---|
d2ceb660 JB |
1 | --- xc/programs/Xserver/hw/xfree86/common/xf86Init.c.orig Fri Aug 20 05:22:39 2004 |
2 | +++ xc/programs/Xserver/hw/xfree86/common/xf86Init.c Thu Dec 9 13:24:44 2004 | |
3 | @@ -1244,7 +1244,7 @@ | |
4 | /* | |
5 | * try to deinitialize all input devices | |
6 | */ | |
7 | - if (xf86Info.pKeyboard) | |
8 | + if (xf86Info.kbdProc && xf86Info.pKeyboard) | |
9 | (xf86Info.kbdProc)(xf86Info.pKeyboard, DEVICE_CLOSE); | |
10 | ||
11 | /* |