diff options
Diffstat (limited to 'hw/xfree86/common/xf86Io.c')
-rw-r--r-- | hw/xfree86/common/xf86Io.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86Io.c b/hw/xfree86/common/xf86Io.c index bd44bdeb5..7f9ba6f0e 100644 --- a/hw/xfree86/common/xf86Io.c +++ b/hw/xfree86/common/xf86Io.c @@ -49,6 +49,7 @@ */ /* $XConsortium: xf86Io.c /main/27 1996/10/19 17:58:55 kaleb $ */ +/* $XdotOrg: xc/programs/Xserver/hw/xfree86/common/xf86Io.c,v 1.2 2004/07/28 03:57:19 alanc Exp $ */ #define NEED_EVENTS #include "X.h" @@ -148,6 +149,10 @@ xf86KbdLeds () if (leds & XLED4) real_leds |= LED_SCR; #endif #endif +#ifdef sun + /* Pass through any additional LEDs, such as Kana LED on Sun Japanese kbd */ + real_leds |= (leds & 0xFFFFFFF0); +#endif xf86SetKbdLeds(real_leds); (void)leds; } |