summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2014-05-28 19:47:13 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2014-05-28 19:47:13 +0400
commit35a389321a70b0ce5ec81023a2ce84027235617f (patch)
tree8092d138bebaeff0bf4773b902eb969d791668a0 /src/frame.h
parent2b5113740643a2243e56d0878e179aef634adf38 (diff)
downloademacs-35a389321a70b0ce5ec81023a2ce84027235617f.tar.gz
* frame.h (frame_char_to_pixel_position, frame_set_mouse_position):
Fix last change by moving these functions under HAVE_WINDOW_SYSTEM.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/frame.h b/src/frame.h
index c22b9c2a823..60d3e3680f1 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -1354,17 +1354,6 @@ x_set_bitmap_icon (struct frame *f)
#endif /* !HAVE_NS */
-#endif /* HAVE_WINDOW_SYSTEM */
-
-INLINE void
-flush_frame (struct frame *f)
-{
- struct redisplay_interface *rif = FRAME_RIF (f);
-
- if (rif && rif->flush_display)
- rif->flush_display (f);
-}
-
/* Convert character coordinates X and Y to pixel
coordinates PIX_X and PIX_Y on frame F. */
@@ -1396,6 +1385,17 @@ void frame_set_mouse_position (struct frame *f, int x, int y)
frame_set_mouse_pixel_position (f, pix_x, pix_y);
}
+#endif /* HAVE_WINDOW_SYSTEM */
+
+INLINE void
+flush_frame (struct frame *f)
+{
+ struct redisplay_interface *rif = FRAME_RIF (f);
+
+ if (rif && rif->flush_display)
+ rif->flush_display (f);
+}
+
/***********************************************************************
Multimonitor data
***********************************************************************/