summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 00434610317..d1c16705e66 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -71,6 +71,10 @@ struct x_output
#endif /* ! HAVE_X_WINDOWS */
+
+#define FRAME_FOREGROUND_PIXEL(f) ((f)->output_data.x->foreground_pixel)
+#define FRAME_BACKGROUND_PIXEL(f) ((f)->output_data.x->background_pixel)
+
/* A structure describing a termcap frame display. */
extern struct x_output tty_display;