(!1799) xkb: move XkbSLI_IsDefault() and XkbSLI_HasOwnState() into private header
These macros aren't used by any drivers, so no need to keep them exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									2dc1fff342
								
							
						
					
					
						commit
						e97ed4b111
					
				|  | @ -98,6 +98,7 @@ SOFTWARE. | ||||||
| #include "dix/input_priv.h" | #include "dix/input_priv.h" | ||||||
| #include "dix/resource_priv.h" | #include "dix/resource_priv.h" | ||||||
| #include "mi/mi_priv.h" | #include "mi/mi_priv.h" | ||||||
|  | #include "xkb/xkbsrv_priv.h" | ||||||
| 
 | 
 | ||||||
| #include "inputstr.h" | #include "inputstr.h" | ||||||
| #include "windowstr.h" | #include "windowstr.h" | ||||||
|  | @ -112,7 +113,6 @@ SOFTWARE. | ||||||
| #include "xiquerydevice.h"      /* For List*Info */ | #include "xiquerydevice.h"      /* For List*Info */ | ||||||
| #include "eventstr.h" | #include "eventstr.h" | ||||||
| #include "inpututils.h" | #include "inpututils.h" | ||||||
| #include "xkbsrv.h" |  | ||||||
| 
 | 
 | ||||||
| #define WID(w) ((w) ? ((w)->drawable.id) : 0) | #define WID(w) ((w) ? ((w)->drawable.id) : 0) | ||||||
| #define AllModifiersMask ( \ | #define AllModifiersMask ( \ | ||||||
|  |  | ||||||
|  | @ -168,9 +168,6 @@ typedef struct _XkbSrvInfo { | ||||||
|     char overlay_perkey_state[256/8]; /* bitfield */ |     char overlay_perkey_state[256/8]; /* bitfield */ | ||||||
| } XkbSrvInfoRec, *XkbSrvInfoPtr; | } XkbSrvInfoRec, *XkbSrvInfoPtr; | ||||||
| 
 | 
 | ||||||
| #define	XkbSLI_IsDefault	(1L<<0) |  | ||||||
| #define	XkbSLI_HasOwnState	(1L<<1) |  | ||||||
| 
 |  | ||||||
| typedef struct _XkbSrvLedInfo { | typedef struct _XkbSrvLedInfo { | ||||||
|     CARD16 flags; |     CARD16 flags; | ||||||
|     CARD16 class; |     CARD16 class; | ||||||
|  |  | ||||||
|  | @ -41,6 +41,9 @@ | ||||||
| #define XkbSetCauseXkbReq(c,e,cl)  XkbSetCauseReq(c,XkbReqCode,e,cl) | #define XkbSetCauseXkbReq(c,e,cl)  XkbSetCauseReq(c,XkbReqCode,e,cl) | ||||||
| #define XkbSetCauseUnknown(c)      XkbSetCauseKey(c,0,0) | #define XkbSetCauseUnknown(c)      XkbSetCauseKey(c,0,0) | ||||||
| 
 | 
 | ||||||
|  | #define XkbSLI_IsDefault        (1L<<0) | ||||||
|  | #define XkbSLI_HasOwnState      (1L<<1) | ||||||
|  | 
 | ||||||
| void xkbUnwrapProc(DeviceIntPtr, DeviceHandleProc, void *); | void xkbUnwrapProc(DeviceIntPtr, DeviceHandleProc, void *); | ||||||
| 
 | 
 | ||||||
| void XkbForceUpdateDeviceLEDs(DeviceIntPtr keybd); | void XkbForceUpdateDeviceLEDs(DeviceIntPtr keybd); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue