Skip to content

Commit 864b9f1

Browse files
committed
pseudoramiX: drop obsolete support for internal server reset
Not used anymore. Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
1 parent 5c59221 commit 864b9f1

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

pseudoramiX/pseudoramiX.c

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ typedef struct {
8383
static PseudoramiXScreenRec *pseudoramiXScreens = NULL;
8484
static int pseudoramiXScreensAllocated = 0;
8585
static int pseudoramiXNumScreens = 0;
86-
static x_server_generation_t pseudoramiXGeneration = 0;
8786

8887
// Add a PseudoramiX screen.
8988
// The rest of the X server will know nothing about this screen.
@@ -134,19 +133,16 @@ PseudoramiXExtensionInit(void)
134133
}
135134
#endif
136135

137-
if (pseudoramiXGeneration != serverGeneration) {
138-
extEntry = AddExtension(PANORAMIX_PROTOCOL_NAME, 0, 0,
139-
ProcPseudoramiXDispatch,
140-
ProcPseudoramiXDispatch,
141-
PseudoramiXResetProc,
142-
StandardMinorOpcode);
143-
if (!extEntry) {
144-
ErrorF("PseudoramiXExtensionInit(): AddExtension failed\n");
145-
}
146-
else {
147-
pseudoramiXGeneration = serverGeneration;
148-
success = TRUE;
149-
}
136+
extEntry = AddExtension(PANORAMIX_PROTOCOL_NAME, 0, 0,
137+
ProcPseudoramiXDispatch,
138+
ProcPseudoramiXDispatch,
139+
PseudoramiXResetProc,
140+
StandardMinorOpcode);
141+
if (!extEntry) {
142+
ErrorF("PseudoramiXExtensionInit(): AddExtension failed\n");
143+
}
144+
else {
145+
success = TRUE;
150146
}
151147

152148
/* Do not allow RRXinerama to initialize if we did */

0 commit comments

Comments
 (0)