mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
(submit/rename-panoramix-sym) rename old symbol PANORAMIX to XINERAMA
PANORAMIX was the original working title of the extension, before it became official standard. Just nobody cared about fixing the symbols to the official naming. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -93,10 +93,10 @@ Equipment Corporation.
|
||||
|
||||
#include "globals.h"
|
||||
|
||||
#ifdef PANORAMIX
|
||||
#ifdef XINERAMA
|
||||
#include "panoramiX.h"
|
||||
#include "panoramiXsrv.h"
|
||||
#endif
|
||||
#endif /* XINERAMA */
|
||||
|
||||
/*
|
||||
machine-independent graphics exposure code. any device that uses
|
||||
@@ -323,7 +323,7 @@ miSendExposures(WindowPtr pWin, RegionPtr pRgn, int dx, int dy)
|
||||
pe->u.expose.count = i;
|
||||
}
|
||||
|
||||
#ifdef PANORAMIX
|
||||
#ifdef XINERAMA
|
||||
if (!noPanoramiXExtension) {
|
||||
int scrnum = pWin->drawable.pScreen->myNum;
|
||||
int x = 0, y = 0;
|
||||
@@ -354,7 +354,7 @@ miSendExposures(WindowPtr pWin, RegionPtr pRgn, int dx, int dy)
|
||||
pEvent[i].u.expose.y += y;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif /* XINERAMA */
|
||||
|
||||
DeliverEvents(pWin, pEvent, numRects, NullWindow);
|
||||
|
||||
|
||||
@@ -105,9 +105,9 @@ static const ExtensionModule staticExtensions[] = {
|
||||
#ifdef XCSECURITY
|
||||
{SecurityExtensionInit, "SECURITY", &noSecurityExtension},
|
||||
#endif
|
||||
#ifdef PANORAMIX
|
||||
#ifdef XINERAMA
|
||||
{PanoramiXExtensionInit, "XINERAMA", &noPanoramiXExtension},
|
||||
#endif
|
||||
#endif /* XINERAMA */
|
||||
/* must be before Render to layer DisplayCursor correctly */
|
||||
{XFixesExtensionInit, "XFIXES", &noXFixesExtension},
|
||||
#ifdef XF86BIGFONT
|
||||
|
||||
@@ -397,9 +397,9 @@ miPointerWarpCursor(DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
|
||||
* updated to the second screen, and we never receive any events.
|
||||
* (FDO bug #18668) */
|
||||
if (changedScreen
|
||||
#ifdef PANORAMIX
|
||||
#ifdef XINERAMA
|
||||
&& noPanoramiXExtension
|
||||
#endif
|
||||
#endif /* XINERAMA */
|
||||
) {
|
||||
DeviceIntPtr master = GetMaster(pDev, MASTER_POINTER);
|
||||
/* Hack for CVE-2023-5380: if we're moving
|
||||
|
||||
Reference in New Issue
Block a user