emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117180: * frame.h (frame_char_to_pixel_position, fr


From: Dmitry Antipov
Subject: [Emacs-diffs] trunk r117180: * frame.h (frame_char_to_pixel_position, frame_set_mouse_position):
Date: Wed, 28 May 2014 15:47:23 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117180
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Wed 2014-05-28 19:47:13 +0400
message:
  * frame.h (frame_char_to_pixel_position, frame_set_mouse_position):
  Fix last change by moving these functions under HAVE_WINDOW_SYSTEM.
modified:
  src/frame.h                    frame.h-20091113204419-o5vbwnq5f7feedwu-229
=== modified file 'src/frame.h'
--- a/src/frame.h       2014-05-28 13:53:22 +0000
+++ b/src/frame.h       2014-05-28 15:47:13 +0000
@@ -1354,17 +1354,6 @@
 
 #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 @@
   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
  ***********************************************************************/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]