File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ typedef struct {
8383static PseudoramiXScreenRec * pseudoramiXScreens = NULL ;
8484static int pseudoramiXScreensAllocated = 0 ;
8585static 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 */
You can’t perform that action at this time.
0 commit comments