Xcm.h   Xcm.h 
skipping to change at line 159 skipping to change at line 159
- uniquely identify the colour server - uniquely identify the colour server
- tell the name of the colour server - tell the name of the colour server
- tell the colour server is alive - tell the colour server is alive
All sections are separated by one space char ' ' for easy parsing. All sections are separated by one space char ' ' for easy parsing.
The first section contains the process id (pid_t) of the color server proce ss, The first section contains the process id (pid_t) of the color server proce ss,
which has set the atom. which has set the atom.
The second section contains time since epoch GMT as returned by time(NULL). The second section contains time since epoch GMT as returned by time(NULL).
The thired section contains the bar '|' separated and surrounded The thired section contains the bar '|' separated and surrounded
capabilities: capabilities:
- ICP _ICC_COLOR_PROFILES - ICP _ICC_COLOR_PROFILES - support per region profiles
- ICM _ICC_COLOR_MANAGEMENT - ICM _ICC_COLOR_MANAGEMENT - color server is active
- ICO _ICC_COLOR_OUTPUTS - ICO _ICC_COLOR_OUTPUTS - support per window and output configuration
- ICR _ICC_COLOR_REGIONS - ICR _ICC_COLOR_REGIONS - support regions
- ICA _ICC_COLOR_DISPLAY_ADVANCED - ICA _ICC_COLOR_DISPLAY_ADVANCED - use CMS advanced settings, e.g. proo
fing
- V0.3 indicates version compliance to the _ICC_Profile in X spec - V0.3 indicates version compliance to the _ICC_Profile in X spec
The fourth section contains the servers name identifier. The fourth section contains the servers name identifier.
As of this specification the third section must contain ICR and the As of this specification the third section must contain ICR and the
supported _ICC_PROFILE in X version. supported _ICC_PROFILE in X version.
A example of a valid atom might look like: A example of a valid atom might look like:
_ICC_COLOR_DESKTOP(STRING) = "4518 1274001512 |ICR|V0.3| compiz_colour_desk top" _ICC_COLOR_DESKTOP(STRING) = "4518 1274001512 |ICR|ICM|V0.3| compiz_colour_ desktop"
*/ */
#define XCM_COLOR_DESKTOP "_ICC_COLOR_DESKTOP" #define XCM_COLOR_DESKTOP "_ICC_COLOR_DESKTOP"
#endif /* XCM_HAVE_X11 */ #endif /* XCM_HAVE_X11 */
/** /**
* The XCM_COLOR_SERVER_ enums * The XCM_COLOR_SERVER_ enums
* describe colour server capabilities as specified in XCM_COLOR_DESKTOP at om. * describe colour server capabilities as specified in XCM_COLOR_DESKTOP at om.
*/ */
enum { enum {
XCM_COLOR_SERVER_REGIONS = 0x01, /**< _ICC_COLOR_REGIONS */ XCM_COLOR_SERVER_REGIONS = 0x01, /**< _ICC_COLOR_REGIONS */
XCM_COLOR_SERVER_PROFILES = 0x02, /**< _ICC_COLOR_PROFILES */ XCM_COLOR_SERVER_PROFILES = 0x02, /**< _ICC_COLOR_PROFILES */
XCM_COLOR_SERVER_DISPLAY_ADVANCED = 0x04, /**< _ICC_COLOR_DISPLAY_ADVANC ED */ XCM_COLOR_SERVER_DISPLAY_ADVANCED = 0x04, /**< _ICC_COLOR_DISPLAY_ADVANC ED */
XCM_COLOR_SERVER_OUTPUTS = 0x08 /**< _ICC_COLOR_OUTPUTS */ XCM_COLOR_SERVER_OUTPUTS = 0x08, /**< _ICC_COLOR_OUTPUTS */
XCM_COLOR_SERVER_MANAGEMENT = 0x10 /**< _ICC_COLOR_MANAGEMENT */
}; };
#ifdef XCM_HAVE_X11 #ifdef XCM_HAVE_X11
/** Function XcmColorServerCapabilities /** Function XcmColorServerCapabilities
* @brief informs which colour server services are available * @brief informs which colour server services are available
* *
* Query the capabilities of a colour server. In case no colour server is * Query the capabilities of a colour server. In case no colour server is
* running, the function should return zero. The return value consists of a bit * running, the function should return zero. The return value consists of a bit
* mask of XCM_COLOR_SERVER_ properties from the XCM_COLOR_DESKTOP atom. * mask of XCM_COLOR_SERVER_ properties from the XCM_COLOR_DESKTOP atom.
*/ */
int XcmColorServerCapabilities ( Display *dpy ); int XcmColorServerCapabilities ( Display *dpy );
 End of changes. 3 change blocks. 
7 lines changed or deleted 9 lines changed or added


 XcmVersion.h   XcmVersion.h 
skipping to change at line 24 skipping to change at line 24
*/ */
#ifndef __XCM_VERSION_H__ #ifndef __XCM_VERSION_H__
#define __XCM_VERSION_H__ #define __XCM_VERSION_H__
#define XCM_HAVE_X11 1 #define XCM_HAVE_X11 1
#define XCM_HAVE_LINUX 1 #define XCM_HAVE_LINUX 1
#define XCM_VERSION_MAJOR 0 #define XCM_VERSION_MAJOR 0
#define XCM_VERSION_MINOR 5 #define XCM_VERSION_MINOR 5
#define XCM_VERSION_MICRO 1 #define XCM_VERSION_MICRO 2
#define XCM_VERSION 0.5.1 #define XCM_VERSION 0.5.2
#define XCM_VERSION_NUM (0*10000+5*100+1) #define XCM_VERSION_NUM (0*10000+5*100+2)
#define XCM_LIB_VERSION 0:5:0 #define XCM_LIB_VERSION 0:5:0
#endif /* __XCM_VERSION_H__ */ #endif /* __XCM_VERSION_H__ */
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/