mi: drop obsolete miOverlaySetTransFunction()
Not used by any (known) drivers. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1503>
This commit is contained in:
		
							parent
							
								
									be6985948d
								
							
						
					
					
						commit
						54704e4a50
					
				| 
						 | 
					@ -58,14 +58,9 @@ typedef struct {
 | 
				
			||||||
static DevPrivateKeyRec miOverlayWindowKeyRec;
 | 
					static DevPrivateKeyRec miOverlayWindowKeyRec;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define miOverlayWindowKey (&miOverlayWindowKeyRec)
 | 
					#define miOverlayWindowKey (&miOverlayWindowKeyRec)
 | 
				
			||||||
static DevPrivateKeyRec miOverlayScreenKeyRec;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define miOverlayScreenKey (&miOverlayScreenKeyRec)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void MarkUnderlayWindow(WindowPtr);
 | 
					static void MarkUnderlayWindow(WindowPtr);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define MIOVERLAY_GET_SCREEN_PRIVATE(pScreen) ((miOverlayScreenPtr) \
 | 
					 | 
				
			||||||
	dixLookupPrivate(&(pScreen)->devPrivates, miOverlayScreenKey))
 | 
					 | 
				
			||||||
#define MIOVERLAY_GET_WINDOW_PRIVATE(pWin) ((miOverlayWindowPtr) \
 | 
					#define MIOVERLAY_GET_WINDOW_PRIVATE(pWin) ((miOverlayWindowPtr) \
 | 
				
			||||||
	dixLookupPrivate(&(pWin)->devPrivates, miOverlayWindowKey))
 | 
						dixLookupPrivate(&(pWin)->devPrivates, miOverlayWindowKey))
 | 
				
			||||||
#define MIOVERLAY_GET_WINDOW_TREE(pWin) \
 | 
					#define MIOVERLAY_GET_WINDOW_TREE(pWin) \
 | 
				
			||||||
| 
						 | 
					@ -102,12 +97,6 @@ miOverlaySetRootClip(ScreenPtr pScreen, Bool enable)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/****************************************************************/
 | 
					/****************************************************************/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					 | 
				
			||||||
miOverlaySetTransFunction(ScreenPtr pScreen, miOverlayTransFunc transFunc)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    MIOVERLAY_GET_SCREEN_PRIVATE(pScreen)->MakeTransparent = transFunc;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
MarkUnderlayWindow(WindowPtr pWin)
 | 
					MarkUnderlayWindow(WindowPtr pWin)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,7 +9,6 @@
 | 
				
			||||||
typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr);
 | 
					typedef void (*miOverlayTransFunc) (ScreenPtr, int, BoxPtr);
 | 
				
			||||||
typedef Bool (*miOverlayInOverlayFunc) (WindowPtr);
 | 
					typedef Bool (*miOverlayInOverlayFunc) (WindowPtr);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern _X_EXPORT void miOverlaySetTransFunction(ScreenPtr, miOverlayTransFunc);
 | 
					 | 
				
			||||||
extern _X_EXPORT void miOverlaySetRootClip(ScreenPtr, Bool);
 | 
					extern _X_EXPORT void miOverlaySetRootClip(ScreenPtr, Bool);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif                          /* __MIOVERLAY_H */
 | 
					#endif                          /* __MIOVERLAY_H */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue