Commit 7353f3a3 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(struct x_display_info): Add Colormap member `cmap'.

(FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros.
parent 43bd1b2b
......@@ -169,6 +169,9 @@ struct x_display_info
/* 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 @@ struct x_output
/* 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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment