aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkb/ddxLEDs.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-03-23 10:05:55 +0100
committermarha <marha@users.sourceforge.net>2012-03-23 10:05:55 +0100
commit0f834b91a4768673833ab4917e87d86c237bb1a6 (patch)
tree363489504ed4b2d360259b8de4c9e392918e5d02 /xorg-server/xkb/ddxLEDs.c
parentfc72edebf875378459368c5383d9023730cbca54 (diff)
downloadvcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.gz
vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.bz2
vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.zip
libX11 xserver fontconfig mesa pixman xkbcomp xkeyboard-config git update
23 Mar 2012
Diffstat (limited to 'xorg-server/xkb/ddxLEDs.c')
-rw-r--r--xorg-server/xkb/ddxLEDs.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/xorg-server/xkb/ddxLEDs.c b/xorg-server/xkb/ddxLEDs.c
index 246d58c31..81b7b00e0 100644
--- a/xorg-server/xkb/ddxLEDs.c
+++ b/xorg-server/xkb/ddxLEDs.c
@@ -39,33 +39,33 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/extensions/XI.h>
static void
-XkbDDXUpdateIndicators(DeviceIntPtr dev,CARD32 new)
+XkbDDXUpdateIndicators(DeviceIntPtr dev, CARD32 new)
{
- dev->kbdfeed->ctrl.leds= new;
- (*dev->kbdfeed->CtrlProc)(dev,&dev->kbdfeed->ctrl);
+ dev->kbdfeed->ctrl.leds = new;
+ (*dev->kbdfeed->CtrlProc) (dev, &dev->kbdfeed->ctrl);
return;
}
void
-XkbDDXUpdateDeviceIndicators( DeviceIntPtr dev,
- XkbSrvLedInfoPtr sli,
- CARD32 new)
+XkbDDXUpdateDeviceIndicators(DeviceIntPtr dev, XkbSrvLedInfoPtr sli, CARD32 new)
{
- if (sli->fb.kf==dev->kbdfeed)
- XkbDDXUpdateIndicators(dev,new);
- else if (sli->class==KbdFeedbackClass) {
- KbdFeedbackPtr kf;
- kf= sli->fb.kf;
- if (kf && kf->CtrlProc) {
- (*kf->CtrlProc)(dev,&kf->ctrl);
- }
+ if (sli->fb.kf == dev->kbdfeed)
+ XkbDDXUpdateIndicators(dev, new);
+ else if (sli->class == KbdFeedbackClass) {
+ KbdFeedbackPtr kf;
+
+ kf = sli->fb.kf;
+ if (kf && kf->CtrlProc) {
+ (*kf->CtrlProc) (dev, &kf->ctrl);
+ }
}
- else if (sli->class==LedFeedbackClass) {
- LedFeedbackPtr lf;
- lf= sli->fb.lf;
- if (lf && lf->CtrlProc) {
- (*lf->CtrlProc)(dev,&lf->ctrl);
- }
+ else if (sli->class == LedFeedbackClass) {
+ LedFeedbackPtr lf;
+
+ lf = sli->fb.lf;
+ if (lf && lf->CtrlProc) {
+ (*lf->CtrlProc) (dev, &lf->ctrl);
+ }
}
return;
}