diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-16 12:13:16 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-17 09:05:22 +1000 |
commit | d230742ea820a21a3f1ed0c58b5e6d8680b2f2aa (patch) | |
tree | c1d736272599c1701aace889c82f0a1f48077b7d | |
parent | 4ddb002b6847e8a88e6f13ae0453a35ee79946ae (diff) |
Xi: namespace XI2 files.
Some files (notably those merged with MPX before XI2 came along) didn't use
a 'xi' prefix. This patch changes all of them to meaningful names.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | Xi/Makefile.am | 34 | ||||
-rw-r--r-- | Xi/exevents.c | 2 | ||||
-rw-r--r-- | Xi/extinit.c | 16 | ||||
-rw-r--r-- | Xi/xichangecursor.c (renamed from Xi/chdevcur.c) | 2 | ||||
-rw-r--r-- | Xi/xichangecursor.h (renamed from Xi/chdevcur.h) | 0 | ||||
-rw-r--r-- | Xi/xichangehierarchy.c (renamed from Xi/chdevhier.c) | 4 | ||||
-rw-r--r-- | Xi/xichangehierarchy.h (renamed from Xi/chdevhier.h) | 0 | ||||
-rw-r--r-- | Xi/xigetclientpointer.c (renamed from Xi/getcptr.c) | 2 | ||||
-rw-r--r-- | Xi/xigetclientpointer.h (renamed from Xi/getcptr.h) | 0 | ||||
-rw-r--r-- | Xi/xiquerydevice.c (renamed from Xi/querydev.c) | 2 | ||||
-rw-r--r-- | Xi/xiquerydevice.h (renamed from Xi/querydev.h) | 0 | ||||
-rw-r--r-- | Xi/xiquerypointer.c (renamed from Xi/querydp.c) | 2 | ||||
-rw-r--r-- | Xi/xiquerypointer.h (renamed from Xi/querydp.h) | 0 | ||||
-rw-r--r-- | Xi/xiqueryversion.c (renamed from Xi/queryversion.c) | 4 | ||||
-rw-r--r-- | Xi/xiqueryversion.h (renamed from Xi/queryversion.h) | 0 | ||||
-rw-r--r-- | Xi/xisetclientpointer.c (renamed from Xi/setcptr.c) | 2 | ||||
-rw-r--r-- | Xi/xisetclientpointer.h (renamed from Xi/setcptr.h) | 0 | ||||
-rw-r--r-- | Xi/xiwarppointer.c (renamed from Xi/warpdevp.c) | 2 | ||||
-rw-r--r-- | Xi/xiwarppointer.h (renamed from Xi/warpdevp.h) | 0 | ||||
-rw-r--r-- | dix/devices.c | 4 | ||||
-rw-r--r-- | dix/eventconvert.c | 2 |
21 files changed, 39 insertions, 39 deletions
diff --git a/Xi/Makefile.am b/Xi/Makefile.am index 56404b6eb..69c7886b9 100644 --- a/Xi/Makefile.am +++ b/Xi/Makefile.am @@ -5,12 +5,8 @@ AM_CFLAGS = $(DIX_CFLAGS) libXi_la_SOURCES = \ allowev.c \ allowev.h \ - chdevcur.c \ - chdevcur.h \ chgdctl.c \ chgdctl.h \ - chdevhier.c \ - chdevhier.h \ chgfctl.c \ chgfctl.h \ chgkbd.c \ @@ -30,8 +26,6 @@ libXi_la_SOURCES = \ extinit.c \ getbmap.c \ getbmap.h \ - getcptr.c \ - getcptr.h \ getdctl.c \ getdctl.h \ getfctl.c \ @@ -60,12 +54,6 @@ libXi_la_SOURCES = \ listdev.h \ opendev.c \ opendev.h \ - querydev.c \ - querydev.h \ - queryversion.h \ - queryversion.c \ - querydp.c \ - querydp.h \ queryst.c \ queryst.h \ selectev.c \ @@ -74,8 +62,6 @@ libXi_la_SOURCES = \ sendexev.h \ setbmap.c \ setbmap.h \ - setcptr.c \ - setcptr.h \ setdval.c \ setdval.h \ setfocus.c \ @@ -90,19 +76,33 @@ libXi_la_SOURCES = \ ungrdevb.h \ ungrdevk.c \ ungrdevk.h \ - warpdevp.c \ - warpdevp.h \ xiallowev.c \ xiallowev.h \ + xichangecursor.c \ + xichangecursor.h \ + xichangehierarchy.c \ + xichangehierarchy.h \ + xigetclientpointer.c \ + xigetclientpointer.h \ xigrabdev.c \ xigrabdev.h \ xipassivegrab.h \ xipassivegrab.c \ xiproperty.c \ xiproperty.h \ + xiquerydevice.c \ + xiquerydevice.h \ + xiquerypointer.c \ + xiquerypointer.h \ + xiqueryversion.c \ + xiqueryversion.h \ xiselectev.c \ xiselectev.h \ + xisetclientpointer.c \ + xisetclientpointer.h \ xisetdevfocus.c \ - xisetdevfocus.h + xisetdevfocus.h \ + xiwarppointer.c \ + xiwarppointer.h EXTRA_DIST = stubs.c diff --git a/Xi/exevents.c b/Xi/exevents.c index 23d8ee899..24fd11fc0 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -74,7 +74,7 @@ SOFTWARE. #include "scrnintstr.h" #include "listdev.h" /* for CopySwapXXXClass */ #include "xace.h" -#include "querydev.h" /* For List*Info */ +#include "xiquerydevice.h" /* For List*Info */ #include "eventconvert.h" #include <X11/extensions/XKBproto.h> diff --git a/Xi/extinit.c b/Xi/extinit.c index 0550bd483..20d49e13b 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -75,9 +75,7 @@ SOFTWARE. /* modules local to Xi */ #include "allowev.h" -#include "chdevcur.h" #include "chgdctl.h" -#include "chdevhier.h" #include "chgfctl.h" #include "chgkbd.h" #include "chgprop.h" @@ -86,7 +84,6 @@ SOFTWARE. #include "devbell.h" #include "getbmap.h" #include "getbmap.h" -#include "getcptr.h" #include "getdctl.h" #include "getfctl.h" #include "getfocus.h" @@ -102,15 +99,11 @@ SOFTWARE. #include "gtmotion.h" #include "listdev.h" #include "opendev.h" -#include "querydp.h" #include "queryst.h" -#include "querydev.h" -#include "queryversion.h" #include "selectev.h" #include "sendexev.h" #include "chgkmap.h" #include "setbmap.h" -#include "setcptr.h" #include "setdval.h" #include "setfocus.h" #include "setmmap.h" @@ -118,13 +111,20 @@ SOFTWARE. #include "ungrdev.h" #include "ungrdevb.h" #include "ungrdevk.h" -#include "warpdevp.h" #include "xiallowev.h" #include "xiselectev.h" #include "xigrabdev.h" #include "xipassivegrab.h" #include "xisetdevfocus.h" #include "xiproperty.h" +#include "xichangecursor.h" +#include "xichangehierarchy.h" +#include "xigetclientpointer.h" +#include "xiquerydevice.h" +#include "xiquerypointer.h" +#include "xiqueryversion.h" +#include "xisetclientpointer.h" +#include "xiwarppointer.h" /* Masks for XI events have to be aligned with core event (partially anyway). diff --git a/Xi/chdevcur.c b/Xi/xichangecursor.c index 9dba78b36..ee2d65d91 100644 --- a/Xi/chdevcur.c +++ b/Xi/xichangecursor.c @@ -45,7 +45,7 @@ #include "exglobals.h" #include "input.h" -#include "chdevcur.h" +#include "xichangecursor.h" /*********************************************************************** * diff --git a/Xi/chdevcur.h b/Xi/xichangecursor.h index dc6ccb1af..dc6ccb1af 100644 --- a/Xi/chdevcur.h +++ b/Xi/xichangecursor.h diff --git a/Xi/chdevhier.c b/Xi/xichangehierarchy.c index 3f2bb9377..944bb3017 100644 --- a/Xi/chdevhier.c +++ b/Xi/xichangehierarchy.c @@ -48,11 +48,11 @@ #include "exglobals.h" #include "geext.h" #include "xace.h" -#include "querydev.h" /* for GetDeviceUse */ +#include "xiquerydevice.h" /* for GetDeviceUse */ #include "xkbsrv.h" -#include "chdevhier.h" +#include "xichangehierarchy.h" extern DevPrivateKey XTstDevicePrivateKey; diff --git a/Xi/chdevhier.h b/Xi/xichangehierarchy.h index b46cfb4e2..b46cfb4e2 100644 --- a/Xi/chdevhier.h +++ b/Xi/xichangehierarchy.h diff --git a/Xi/getcptr.c b/Xi/xigetclientpointer.c index 92fae8244..859d3fd00 100644 --- a/Xi/getcptr.c +++ b/Xi/xigetclientpointer.c @@ -39,7 +39,7 @@ #include "exevents.h" #include "exglobals.h" -#include "getcptr.h" +#include "xigetclientpointer.h" /*********************************************************************** * This procedure allows a client to query another client's client pointer diff --git a/Xi/getcptr.h b/Xi/xigetclientpointer.h index 1539aa8a9..1539aa8a9 100644 --- a/Xi/getcptr.h +++ b/Xi/xigetclientpointer.h diff --git a/Xi/querydev.c b/Xi/xiquerydevice.c index fd5e4635c..07ddfa1cf 100644 --- a/Xi/querydev.c +++ b/Xi/xiquerydevice.c @@ -40,7 +40,7 @@ #include "xserver-properties.h" #include "exevents.h" -#include "querydev.h" +#include "xiquerydevice.h" static int ListDeviceInfo(DeviceIntPtr dev, xXIDeviceInfo* info); static int SizeDeviceInfo(DeviceIntPtr dev); diff --git a/Xi/querydev.h b/Xi/xiquerydevice.h index 34e87bdde..34e87bdde 100644 --- a/Xi/querydev.h +++ b/Xi/xiquerydevice.h diff --git a/Xi/querydp.c b/Xi/xiquerypointer.c index e5bf98d86..1d00b9e6b 100644 --- a/Xi/querydp.c +++ b/Xi/xiquerypointer.c @@ -49,7 +49,7 @@ #include "panoramiXsrv.h" #endif -#include "querydp.h" +#include "xiquerypointer.h" /*********************************************************************** * diff --git a/Xi/querydp.h b/Xi/xiquerypointer.h index ea22376a6..ea22376a6 100644 --- a/Xi/querydp.h +++ b/Xi/xiquerypointer.h diff --git a/Xi/queryversion.c b/Xi/xiqueryversion.c index 4d644a955..ae63297da 100644 --- a/Xi/queryversion.c +++ b/Xi/xiqueryversion.c @@ -25,7 +25,7 @@ */ /** - * @file queryversion.c + * @file xiqueryversion.c * Protocol handling for the XIQueryVersion request/reply. */ @@ -42,7 +42,7 @@ #include "exglobals.h" #include "exevents.h" -#include "queryversion.h" +#include "xiqueryversion.h" #include "misc.h" extern XExtensionVersion XIVersion; /* defined in getvers.c */ diff --git a/Xi/queryversion.h b/Xi/xiqueryversion.h index 06bb7291a..06bb7291a 100644 --- a/Xi/queryversion.h +++ b/Xi/xiqueryversion.h diff --git a/Xi/setcptr.c b/Xi/xisetclientpointer.c index d23b2d860..264807475 100644 --- a/Xi/setcptr.c +++ b/Xi/xisetclientpointer.c @@ -46,7 +46,7 @@ #include "exevents.h" #include "exglobals.h" -#include "setcptr.h" +#include "xisetclientpointer.h" int SProcXISetClientPointer(ClientPtr client) diff --git a/Xi/setcptr.h b/Xi/xisetclientpointer.h index 5968d98da..5968d98da 100644 --- a/Xi/setcptr.h +++ b/Xi/xisetclientpointer.h diff --git a/Xi/warpdevp.c b/Xi/xiwarppointer.c index bb45bdafc..f3acfe468 100644 --- a/Xi/warpdevp.c +++ b/Xi/xiwarppointer.c @@ -46,7 +46,7 @@ #include "mipointer.h" /* for miPointerUpdateSprite */ -#include "warpdevp.h" +#include "xiwarppointer.h" /*********************************************************************** * * This procedure allows a client to warp the pointer of a device. diff --git a/Xi/warpdevp.h b/Xi/xiwarppointer.h index aafc73904..aafc73904 100644 --- a/Xi/warpdevp.h +++ b/Xi/xiwarppointer.h diff --git a/dix/devices.c b/dix/devices.c index 3996ca64a..2b0358875 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -78,11 +78,11 @@ SOFTWARE. #include <X11/extensions/XIproto.h> #include "exglobals.h" #include "exevents.h" -#include "querydev.h" /* for SizeDeviceClasses */ +#include "xiquerydevice.h" /* for SizeDeviceClasses */ #include "xiproperty.h" #include "enterleave.h" /* for EnterWindow() */ #include "xserver-properties.h" -#include "chdevhier.h" /* For XISendDeviceHierarchyEvent */ +#include "xichangehierarchy.h" /* For XISendDeviceHierarchyEvent */ /** @file * This file handles input device-related stuff. diff --git a/dix/eventconvert.c b/dix/eventconvert.c index 85ddd61f2..ac2b0c310 100644 --- a/dix/eventconvert.c +++ b/dix/eventconvert.c @@ -45,7 +45,7 @@ #include "events.h" #include "exglobals.h" #include "eventconvert.h" -#include "querydev.h" +#include "xiquerydevice.h" #include "xkbsrv.h" |