xwayland: Do not use "XWayland" spelling in code identifiers

Let's not give people any excuse for this spelling.
This commit is contained in:
Michel Dänzer 2023-01-27 18:00:16 +01:00 committed by Olivier Fourdan
parent b5aa70503a
commit d01a075d59

View File

@ -302,7 +302,7 @@ xwl_log_handler(const char *format, va_list args)
#ifdef XWL_HAS_XWAYLAND_EXTENSION #ifdef XWL_HAS_XWAYLAND_EXTENSION
#include <X11/extensions/xwaylandproto.h> #include <X11/extensions/xwaylandproto.h>
Bool noXWaylandExtension = FALSE; Bool noXwaylandExtension = FALSE;
static int static int
ProcXwlQueryVersion(ClientPtr client) ProcXwlQueryVersion(ClientPtr client)
@ -356,7 +356,7 @@ SProcXwlQueryVersion(ClientPtr client)
} }
static int static int
ProcXWaylandDispatch(ClientPtr client) ProcXwaylandDispatch(ClientPtr client)
{ {
REQUEST(xReq); REQUEST(xReq);
@ -368,7 +368,7 @@ ProcXWaylandDispatch(ClientPtr client)
} }
static int static int
SProcXWaylandDispatch(ClientPtr client) SProcXwaylandDispatch(ClientPtr client)
{ {
REQUEST(xReq); REQUEST(xReq);
@ -384,7 +384,7 @@ xwlExtensionInit(void)
{ {
AddExtension(XWAYLAND_EXTENSION_NAME, AddExtension(XWAYLAND_EXTENSION_NAME,
XwlNumberEvents, XwlNumberErrors, XwlNumberEvents, XwlNumberErrors,
ProcXWaylandDispatch, SProcXWaylandDispatch, ProcXwaylandDispatch, SProcXwaylandDispatch,
NULL, StandardMinorOpcode); NULL, StandardMinorOpcode);
} }
@ -395,7 +395,7 @@ static const ExtensionModule xwayland_extensions[] = {
{ xwlVidModeExtensionInit, XF86VIDMODENAME, &noXFree86VidModeExtension }, { xwlVidModeExtensionInit, XF86VIDMODENAME, &noXFree86VidModeExtension },
#endif #endif
#ifdef XWL_HAS_XWAYLAND_EXTENSION #ifdef XWL_HAS_XWAYLAND_EXTENSION
{ xwlExtensionInit, XWAYLAND_EXTENSION_NAME, &noXWaylandExtension }, { xwlExtensionInit, XWAYLAND_EXTENSION_NAME, &noXwaylandExtension },
#endif #endif
}; };