pseudoramiX: drop obsolete support for internal server reset

Not used anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-11-18 13:56:16 +01:00 committed by Enrico Weigelt
parent 5c592210e7
commit 864b9f154c

View File

@ -83,7 +83,6 @@ typedef struct {
static PseudoramiXScreenRec *pseudoramiXScreens = NULL;
static int pseudoramiXScreensAllocated = 0;
static int pseudoramiXNumScreens = 0;
static x_server_generation_t pseudoramiXGeneration = 0;
// Add a PseudoramiX screen.
// The rest of the X server will know nothing about this screen.
@ -134,7 +133,6 @@ PseudoramiXExtensionInit(void)
}
#endif
if (pseudoramiXGeneration != serverGeneration) {
extEntry = AddExtension(PANORAMIX_PROTOCOL_NAME, 0, 0,
ProcPseudoramiXDispatch,
ProcPseudoramiXDispatch,
@ -144,10 +142,8 @@ PseudoramiXExtensionInit(void)
ErrorF("PseudoramiXExtensionInit(): AddExtension failed\n");
}
else {
pseudoramiXGeneration = serverGeneration;
success = TRUE;
}
}
/* Do not allow RRXinerama to initialize if we did */
noRRXineramaExtension = success;