aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 65349834c9b..80b57137981 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -1025,13 +1025,15 @@ extern void x_mark_frame_dirty (struct frame *f);
1025 code after any drawing command, but we can run code whenever 1025 code after any drawing command, but we can run code whenever
1026 someone asks for the handle necessary to draw. */ 1026 someone asks for the handle necessary to draw. */
1027#define FRAME_X_DRAWABLE(f) \ 1027#define FRAME_X_DRAWABLE(f) \
1028 (x_mark_frame_dirty((f)), FRAME_X_RAW_DRAWABLE ((f))) 1028 (x_mark_frame_dirty ((f)), FRAME_X_RAW_DRAWABLE ((f)))
1029 1029
1030#ifdef HAVE_XDBE
1030#define FRAME_X_DOUBLE_BUFFERED_P(f) \ 1031#define FRAME_X_DOUBLE_BUFFERED_P(f) \
1031 (FRAME_X_WINDOW (f) != FRAME_X_RAW_DRAWABLE (f)) 1032 (FRAME_X_WINDOW (f) != FRAME_X_RAW_DRAWABLE (f))
1032 1033
1033/* Return the need-buffer-flip flag for frame F. */ 1034/* Return the need-buffer-flip flag for frame F. */
1034#define FRAME_X_NEED_BUFFER_FLIP(f) ((f)->output_data.x->need_buffer_flip) 1035#define FRAME_X_NEED_BUFFER_FLIP(f) ((f)->output_data.x->need_buffer_flip)
1036#endif
1035 1037
1036/* Return the outermost X window associated with the frame F. */ 1038/* Return the outermost X window associated with the frame F. */
1037#ifdef USE_X_TOOLKIT 1039#ifdef USE_X_TOOLKIT