* frame.h (frame_char_to_pixel_position, frame_set_mouse_position):
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 28 May 2014 15:47:13 +0000 (19:47 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 28 May 2014 15:47:13 +0000 (19:47 +0400)
Fix last change by moving these functions under HAVE_WINDOW_SYSTEM.

src/frame.h

index c22b9c2..60d3e36 100644 (file)
@@ -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
  ***********************************************************************/