--- rxvt-unicode/src/rxvttoolkit.h 2006/01/29 20:51:28 1.13 +++ rxvt-unicode/src/rxvttoolkit.h 2006/01/30 19:46:13 1.15 @@ -30,6 +30,11 @@ XA_WM_PROTOCOLS, XA_WM_DELETE_WINDOW, XA_CLIPBOARD, + XA_AVERAGE_WIDTH, + XA_WEIGHT_NAME, + XA_SLANT, + XA_CHARSET_REGISTRY, + XA_CHARSET_ENCODING, #if ENABLE_FRILLS XA_MOTIF_WM_HINTS, #endif @@ -51,6 +56,24 @@ XA_XEMBED, XA_XEMBED_INFO, #endif +#if !ENABLE_MINIMAL + // these are usually allocated by other subsystens, but we do it + // here to avoid a server roundtrip. + XA_SCREEN_RESOURCES, + XA_XDCCC_LINEAR_RGB_CORRECTION, + XA_XDCCC_LINEAR_RGB_MATRICES, + XA_WM_COLORMAP_WINDOWS, + XA_WM_STATE, + XA_cursor, +# if USE_XIM + // various selection targets used by XIM + XA_TRANSPORT, + XA_LOCALES, + XA__XIM_PROTOCOL, + XA__XIM_XCONNECT, + XA__XIM_MOREDATA, +# endif +#endif NUM_XA }; @@ -228,6 +251,8 @@ void get (rxvt_screen *screen, rxvt_rgba &rgba); + bool alloc (rxvt_screen *screen, rxvt_rgba rgba); + bool set (rxvt_screen *screen, const char *name); bool set (rxvt_screen *screen, rxvt_rgba rgba);