# HG changeset patch # User Gerd Moellmann # Date 952185656 0 # Node ID 8cc3bff16c28daaab95997fcb7ecdfcf30de0dfa # Parent 4ba445af210b0da3c3f6b14d10a75be0e6ea8132 (struct x_display_info): Add Colormap member `cmap'. (FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros. diff -r 4ba445af210b -r 8cc3bff16c28 src/xterm.h --- a/src/xterm.h Sat Mar 04 16:00:03 2000 +0000 +++ b/src/xterm.h Sat Mar 04 16:00:56 2000 +0000 @@ -169,6 +169,9 @@ /* The Visual being used for this display. */ Visual *visual; + + /* THe colormap being used. */ + Colormap cmap; /* Number of panes on this screen. */ int n_planes; @@ -602,6 +605,12 @@ /* This is the `Screen *' which frame F is on. */ #define FRAME_X_SCREEN(f) (FRAME_X_DISPLAY_INFO (f)->screen) +/* This is the Visual which frame F is on. */ +#define FRAME_X_VISUAL(f) FRAME_X_DISPLAY_INFO (f)->visual + +/* This is the Colormap which frame F uses. */ +#define FRAME_X_COLORMAP(f) FRAME_X_DISPLAY_INFO (f)->cmap + /* This is the 'font_info *' which frame F has. */ #define FRAME_X_FONT_TABLE(f) (FRAME_X_DISPLAY_INFO (f)->font_table)