(!1899) dix: make SameClient() macro private
Not used in any external modules, so need to keep it public. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									9b13bf4ed4
								
							
						
					
					
						commit
						d4f3088f5c
					
				| 
						 | 
					@ -57,6 +57,7 @@ SOFTWARE.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "dix/exevents_priv.h"
 | 
					#include "dix/exevents_priv.h"
 | 
				
			||||||
#include "dix/input_priv.h"
 | 
					#include "dix/input_priv.h"
 | 
				
			||||||
 | 
					#include "dix/resource_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "inputstr.h"           /* DeviceIntPtr      */
 | 
					#include "inputstr.h"           /* DeviceIntPtr      */
 | 
				
			||||||
#include "XIstubs.h"
 | 
					#include "XIstubs.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -52,11 +52,14 @@ SOFTWARE.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <dix-config.h>
 | 
					#include <dix-config.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <X11/extensions/XI.h>
 | 
				
			||||||
 | 
					#include <X11/extensions/XIproto.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "dix/resource_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "inputstr.h"           /* DeviceIntPtr      */
 | 
					#include "inputstr.h"           /* DeviceIntPtr      */
 | 
				
			||||||
#include "windowstr.h"          /* window structure  */
 | 
					#include "windowstr.h"          /* window structure  */
 | 
				
			||||||
#include "scrnintstr.h"         /* screen structure  */
 | 
					#include "scrnintstr.h"         /* screen structure  */
 | 
				
			||||||
#include <X11/extensions/XI.h>
 | 
					 | 
				
			||||||
#include <X11/extensions/XIproto.h>
 | 
					 | 
				
			||||||
#include "XIstubs.h"
 | 
					#include "XIstubs.h"
 | 
				
			||||||
#include "exglobals.h"
 | 
					#include "exglobals.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -55,7 +55,7 @@ SOFTWARE.
 | 
				
			||||||
#include <X11/extensions/XI.h>
 | 
					#include <X11/extensions/XI.h>
 | 
				
			||||||
#include <X11/extensions/XIproto.h>
 | 
					#include <X11/extensions/XIproto.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "dix/dix_priv.h"
 | 
					#include "dix/resource_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "inputstr.h"           /* DeviceIntPtr      */
 | 
					#include "inputstr.h"           /* DeviceIntPtr      */
 | 
				
			||||||
#include "windowstr.h"          /* window struct     */
 | 
					#include "windowstr.h"          /* window struct     */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -56,6 +56,7 @@ SOFTWARE.
 | 
				
			||||||
#include <X11/extensions/XIproto.h>
 | 
					#include <X11/extensions/XIproto.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "dix/input_priv.h"
 | 
					#include "dix/input_priv.h"
 | 
				
			||||||
 | 
					#include "dix/resource_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "inputstr.h"           /* DeviceIntPtr      */
 | 
					#include "inputstr.h"           /* DeviceIntPtr      */
 | 
				
			||||||
#include "XIstubs.h"
 | 
					#include "XIstubs.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -56,6 +56,7 @@ SOFTWARE.
 | 
				
			||||||
#include <X11/extensions/XIproto.h>
 | 
					#include <X11/extensions/XIproto.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "dix/input_priv.h"
 | 
					#include "dix/input_priv.h"
 | 
				
			||||||
 | 
					#include "dix/resource_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "inputstr.h"           /* DeviceIntPtr      */
 | 
					#include "inputstr.h"           /* DeviceIntPtr      */
 | 
				
			||||||
#include "XIstubs.h"
 | 
					#include "XIstubs.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -52,11 +52,13 @@ SOFTWARE.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <dix-config.h>
 | 
					#include <dix-config.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <X11/extensions/XIproto.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "dix/resource_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "inputstr.h"           /* DeviceIntPtr      */
 | 
					#include "inputstr.h"           /* DeviceIntPtr      */
 | 
				
			||||||
#include "windowstr.h"          /* window structure  */
 | 
					#include "windowstr.h"          /* window structure  */
 | 
				
			||||||
#include <X11/extensions/XIproto.h>
 | 
					 | 
				
			||||||
#include "exglobals.h"
 | 
					#include "exglobals.h"
 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "ungrdev.h"
 | 
					#include "ungrdev.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/***********************************************************************
 | 
					/***********************************************************************
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -36,6 +36,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "dix/dix_priv.h"
 | 
					#include "dix/dix_priv.h"
 | 
				
			||||||
#include "dix/exevents_priv.h"
 | 
					#include "dix/exevents_priv.h"
 | 
				
			||||||
 | 
					#include "dix/resource_priv.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "inputstr.h"           /* DeviceIntPtr      */
 | 
					#include "inputstr.h"           /* DeviceIntPtr      */
 | 
				
			||||||
#include "windowstr.h"          /* window structure  */
 | 
					#include "windowstr.h"          /* window structure  */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -60,6 +60,7 @@ SOFTWARE.
 | 
				
			||||||
#include "dix/exevents_priv.h"
 | 
					#include "dix/exevents_priv.h"
 | 
				
			||||||
#include "dix/input_priv.h"
 | 
					#include "dix/input_priv.h"
 | 
				
			||||||
#include "dix/ptrveloc_priv.h"
 | 
					#include "dix/ptrveloc_priv.h"
 | 
				
			||||||
 | 
					#include "dix/resource_priv.h"
 | 
				
			||||||
#include "mi/mi_priv.h"
 | 
					#include "mi/mi_priv.h"
 | 
				
			||||||
#include "os/bug_priv.h"
 | 
					#include "os/bug_priv.h"
 | 
				
			||||||
#include "os/osdep.h"
 | 
					#include "os/osdep.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,6 +7,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "include/dix.h"
 | 
					#include "include/dix.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define SameClient(obj,client) \
 | 
				
			||||||
 | 
					        (CLIENT_BITS((obj)->resource) == (client)->clientAsMask)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * @brief retrieve client that owns given window
 | 
					 * @brief retrieve client that owns given window
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -65,9 +65,6 @@ extern _X_EXPORT void AssignTypeAndName(DeviceIntPtr dev,
 | 
				
			||||||
#define ClearBit(ptr, bit) (((BYTE *)(ptr))[(bit)>>3] &= ~(1 << ((bit) & 7)))
 | 
					#define ClearBit(ptr, bit) (((BYTE *)(ptr))[(bit)>>3] &= ~(1 << ((bit) & 7)))
 | 
				
			||||||
extern _X_EXPORT int CountBits(const uint8_t * mask, int len);
 | 
					extern _X_EXPORT int CountBits(const uint8_t * mask, int len);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define SameClient(obj,client) \
 | 
					 | 
				
			||||||
	(CLIENT_BITS((obj)->resource) == (client)->clientAsMask)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define EMASKSIZE	(MAXDEVICES + 2)
 | 
					#define EMASKSIZE	(MAXDEVICES + 2)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* This is the last XI2 event supported by the server. If you add
 | 
					/* This is the last XI2 event supported by the server. If you add
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue