From 0f834b91a4768673833ab4917e87d86c237bb1a6 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 23 Mar 2012 10:05:55 +0100 Subject: libX11 xserver fontconfig mesa pixman xkbcomp xkeyboard-config git update 23 Mar 2012 --- xorg-server/hw/dmx/dmxinput.c | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'xorg-server/hw/dmx/dmxinput.c') diff --git a/xorg-server/hw/dmx/dmxinput.c b/xorg-server/hw/dmx/dmxinput.c index f006af4d2..4ccb43903 100644 --- a/xorg-server/hw/dmx/dmxinput.c +++ b/xorg-server/hw/dmx/dmxinput.c @@ -53,7 +53,8 @@ /** Returns TRUE if the key is a valid modifier. For PC-class * keyboards, all keys can be used as modifiers, so return TRUE * always. */ -Bool LegalModifier(unsigned int key, DeviceIntPtr pDev) +Bool +LegalModifier(unsigned int key, DeviceIntPtr pDev) { return TRUE; } @@ -61,21 +62,23 @@ Bool LegalModifier(unsigned int key, DeviceIntPtr pDev) /** Called from dix/main.c on each server generation to initialize * inputs. All the work is done in dmxInputInit. \see * dmxInputInit() */ -void InitInput(int argc, char **argv) +void +InitInput(int argc, char **argv) { - int i; + int i; DMXInputInfo *dmxInput; if (!dmxNumInputs) dmxLog(dmxFatal, "InitInput: no inputs specified\n"); - + for (i = 0, dmxInput = &dmxInputs[0]; i < dmxNumInputs; i++, dmxInput++) dmxInputInit(dmxInput); mieqInit(); } -void CloseInput(void) +void +CloseInput(void) { mieqFini(); } @@ -83,9 +86,10 @@ void CloseInput(void) /** Called from dix/dispatch.c in Dispatch() whenever input events * require processing. All the work is done in the lower level * routines. */ -void ProcessInputEvents(void) +void +ProcessInputEvents(void) { - int i; + int i; DMXInputInfo *dmxInput; for (i = 0, dmxInput = &dmxInputs[0]; i < dmxNumInputs; i++, dmxInput++) @@ -97,9 +101,10 @@ void ProcessInputEvents(void) * windows on the display might have changed. This information is used * by input drivers (currently only the console driver) that provide * information about window layout to the user. */ -void dmxUpdateWindowInfo(DMXUpdateType type, WindowPtr pWindow) +void +dmxUpdateWindowInfo(DMXUpdateType type, WindowPtr pWindow) { - int i; + int i; DMXInputInfo *dmxInput; for (i = 0, dmxInput = &dmxInputs[0]; i < dmxNumInputs; i++, dmxInput++) @@ -108,8 +113,8 @@ void dmxUpdateWindowInfo(DMXUpdateType type, WindowPtr pWindow) } int -NewInputDeviceRequest (InputOption *options, InputAttributes *attrs, - DeviceIntPtr *pdev) +NewInputDeviceRequest(InputOption *options, InputAttributes * attrs, + DeviceIntPtr *pdev) { return BadRequest; } -- cgit v1.2.3