be470cbf46 
								
							 
						 
						
							
							
								
								( !1967 ) dix: protect from pScreen->SetCursorPosition == NULL  
							
							... 
							
							
							
							It's safer not relying on all ScreenProc's actually filled.
../dix/events.c: In function ‘CheckPhysLimits’:
../dix/events.c:780:14: warning: dereference of NULL ‘pScreen’ [CWE-476] [-Wanalyzer-null-dereference]
  780 |             (*pScreen->SetCursorPosition)
      |             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:31 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								70a6634b6a 
								
							 
						 
						
							
							
								
								( !1969 ) xfree86: common: extra safety checks for NULL pointers  
							
							... 
							
							
							
							Even though it's unlikely ever getting it, still safer to have some
extra checks / asserts than unexpected segfault.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:31 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								9af37ca4db 
								
							 
						 
						
							
							
								
								( !1969 ) xfree86: common: fix not-found check in xf86platformAddDevice()  
							
							... 
							
							
							
							Safer (and easier to understand) if we look at the result pointer
instead of the counter for testing whether device wasn't found.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:31 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d542b2b21e 
								
							 
						 
						
							
							
								
								( !1969 ) xfree86: common: gracefully handle allocation failure  
							
							... 
							
							
							
							Better try to handle memory allocation gracefully than just hard
crashing by segfault.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:31 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								687d73e44e 
								
							 
						 
						
							
							
								
								( !1982 ) xfree86: xf86Priv.h: dont include propertyst.h  
							
							... 
							
							
							
							Nothing in here needs anything from that include file, so no need for
including it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:31 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								b68b119aaa 
								
							 
						 
						
							
							
								
								( !1982 ) xfree86: xf86.h: dont include propertyst.h  
							
							... 
							
							
							
							Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:31 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e00b6cb3c9 
								
							 
						 
						
							
							
								
								( !1982 ) xfree86: xf86Events.c: add missing include of property.h  
							
							... 
							
							
							
							the file calls some functions from property.h, so it needs to be included.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:31 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								2b892280fe 
								
							 
						 
						
							
							
								
								( !1985 ) randr: unexport and document RRProviderAutoConfigGpuScreen()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:31 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								b6f71c8fef 
								
							 
						 
						
							
							
								
								( !1985 ) randr: unexport and document RRResourcesChanged()  
							
							... 
							
							
							
							Not used by external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								4543a5d5e2 
								
							 
						 
						
							
							
								
								( !1988 ) xfree86: drop xf86VGAarbiter.h  
							
							... 
							
							
							
							It doesn't serve any practical purpose anymore and also isn't included
by any external driver, thus also no need to keep it in SDK.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								27da186e56 
								
							 
						 
						
							
							
								
								( !1988 ) xfree86: unexport xf86VGAarbiterAllowDRI()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								7ae4797cfb 
								
							 
						 
						
							
							
								
								( !1988 ) xfree86: drop obsolete xf86VGAarbiterDeviceDecodes()  
							
							... 
							
							
							
							Not used by anybody, so no need to keep it anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ad8e4dcbe3 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: unexport xf86RemoveInputEventDrainCallback()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								24230163e0 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: unexport xf86AddInputEventDrainCallback()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								050d3ae66f 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: unexport xf86LookupInput()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								7c14701626 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: unexport xf86LookupInputDriver()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								33b2edf140 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: unexport xf86InputEnableVTProbe()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e72b365cb6 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: unexport xf86PostButtonEventM()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ba9b9a7263 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: make xf86VIDrvMsgVerb() static  
							
							... 
							
							
							
							Only used inside xf86Helper.c, so can be made static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f589e42aa1 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: make xf86PostKeyEvent() static  
							
							... 
							
							
							
							Only used inside xf86Xinput.c, so can be made static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								409cf467df 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: drop obsolete xf86PostKeyEventM()  
							
							... 
							
							
							
							It's now only a wrapper calling xf86PostKeyEvent(), and no external driver
using it anymore, so we can drop it entirely.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								78924a55cf 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: drop unused xf86DeleteInputDriver()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								69789f4937 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: drop unused xf86EnableDevice()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d9d72267fa 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: drop unused xf86PostKeyEventP()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								949df66f5e 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: drop unused xf86PostProximityEventP()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								257a27c8da 
								
							 
						 
						
							
							
								
								( !1990 ) xfree86: drop unused xf86PostMotionEventP()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								63c8a689c3 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: unexport xf86MarkOptionUsedByName()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								4fb733f3cb 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: unexport xf86MarkOptionUsed()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								085a25ec43 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: unexport xf86OptionListReport()  
							
							... 
							
							
							
							Not used by any external drivers, so no need to keep it exported.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d4a7b3ff0a 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: make xf86CheckIfOptionUsedByName() static  
							
							... 
							
							
							
							Only used inside of xf86Option.c, so can be made static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0f2f4e1788 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: drop unused xf86CheckIfOptionUsed()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								20eb29406c 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: drop unused xf86ReplacePercentOption()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								01d3d0a05d 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: drop unused xf86ReplaceRealOption()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								4030ad8374 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: drop unused xf86GetOptValReal()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								66edee2b99 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: drop unused xf86NewOption()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around any longer.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c8dcff34e4 
								
							 
						 
						
							
							
								
								( !1991 ) xfree86: xf86Option: drop unused xf86CheckRealOption()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:30 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								eb32f90157 
								
							 
						 
						
							
							
								
								( !1995 ) xfree86: xisb: drop unused XisbTrace()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c77dcceeac 
								
							 
						 
						
							
							
								
								( !1995 ) xfree86: xisb: drop unused XisbWrite()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5524def6d3 
								
							 
						 
						
							
							
								
								( !1996 ) xfree86: xv: unexport XF86XvScreenKey  
							
							... 
							
							
							
							Not used by any drivers, and the include is private anyways.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								357064d87d 
								
							 
						 
						
							
							
								
								( !1996 ) xfree86: xv: don't install xf86xvpriv.h  
							
							... 
							
							
							
							Not included by any drivers, and it's supposed to be private anyways.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f6d2950844 
								
							 
						 
						
							
							
								
								( !1996 ) xfree86: xv: drop unused xf86XVFillKeyHelperPort()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c589e10b3c 
								
							 
						 
						
							
							
								
								( !1997 ) xfree86: fbman: move FBManagerFuncs into x86fbman.c  
							
							... 
							
							
							
							Only used here, so no need to keep it in public API.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								aa656c5000 
								
							 
						 
						
							
							
								
								( !1997 ) xfree86: fbman: make xf86InitFBManagerRegion() static  
							
							... 
							
							
							
							Only called locally within xf86fbman.c, so can be made static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								00addfdcc4 
								
							 
						 
						
							
							
								
								( !1997 ) xfree86: fbman: make xf86RegisterOffscreenManager()  
							
							... 
							
							
							
							Only called locally within xf86fbman.c, so can be made static.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e11135776e 
								
							 
						 
						
							
							
								
								( !1997 ) xfree86: fbman: drop FreeBoxesUpdateCallback  
							
							... 
							
							
							
							Nobody fills it anymore, so not needed at all anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3676dc9bc5 
								
							 
						 
						
							
							
								
								( !1997 ) xfree86: fbman: drop RegisterFreeBoxCallback proc pointer  
							
							... 
							
							
							
							Nobody calls it anymore, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								845c09a567 
								
							 
						 
						
							
							
								
								( !1997 ) xfree86: fbman: drop unused xf86RegisterFreeBoxCallback()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								563f28f914 
								
							 
						 
						
							
							
								
								( !1997 ) xfree86: fbman: drop unused xf86AllocateLinearOffscreenArea()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d193ebb804 
								
							 
						 
						
							
							
								
								( !1997 ) xfree86: fbman: drop unused xf86FBManagerRunning()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f28044edf0 
								
							 
						 
						
							
							
								
								( !1997 ) xfree86: fbman: drop unused xf86InitFBManagerArea()  
							
							... 
							
							
							
							Not used anywhere, so no need to keep it around anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> 
							
						 
						
							2025-06-03 11:37:29 +02:00