(!2007) dix: unexport and document EventSelectForWindow()
Not used by any external drivers, and not supposed to be used by them, so no need to keep it in public API. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									e7efd95cd7
								
							
						
					
					
						commit
						c2f295f097
					
				|  | @ -277,4 +277,15 @@ Bool MaybeDeliverEventToClient(WindowPtr pWindow, | |||
|                                ClientPtr skipClient) | ||||
|     _X_ATTRIBUTE_NONNULL_ARG(1,2); | ||||
| 
 | ||||
| /*
 | ||||
|  * @brief select window events to listen on | ||||
|  * | ||||
|  * @param pWindow   window to listen on | ||||
|  * @param pClient   the client that's listening on the events | ||||
|  * @param mask      mask of events to listen on | ||||
|  * @return X error code | ||||
|  */ | ||||
| XRetCode EventSelectForWindow(WindowPtr pWindow, ClientPtr pClient, Mask mask) | ||||
|     _X_ATTRIBUTE_NONNULL_ARG(1,2); | ||||
| 
 | ||||
| #endif /* _XSERVER_DIX_PRIV_H */ | ||||
|  |  | |||
|  | @ -4536,8 +4536,7 @@ OtherClientGone(void *value, XID id) | |||
|     FatalError("client not on event list"); | ||||
| } | ||||
| 
 | ||||
| int | ||||
| EventSelectForWindow(WindowPtr pWin, ClientPtr client, Mask mask) | ||||
| XRetCode EventSelectForWindow(WindowPtr pWin, ClientPtr client, Mask mask) | ||||
| { | ||||
|     Mask check; | ||||
|     OtherClients *others; | ||||
|  |  | |||
|  | @ -26,10 +26,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |||
| #ifndef DIXEVENTS_H | ||||
| #define DIXEVENTS_H | ||||
| 
 | ||||
| extern _X_EXPORT int EventSelectForWindow(WindowPtr /* pWin */ , | ||||
|                                           ClientPtr /* client */ , | ||||
|                                           Mask /* mask */ ); | ||||
| 
 | ||||
| extern _X_EXPORT int EventSuppressForWindow(WindowPtr /* pWin */ , | ||||
|                                             ClientPtr /* client */ , | ||||
|                                             Mask /* mask */ , | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue