]> git.eshelyaron.com Git - emacs.git/commitdiff
Do not populate pure Xism x_sync to other ports.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 9 Sep 2013 14:01:02 +0000 (18:01 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 9 Sep 2013 14:01:02 +0000 (18:01 +0400)
* frame.h (x_sync): Move under HAVE_X_WINDOWS.
* frame.c (other_visible_frames) [HAVE_X_WINDOWS]: Use as such.
* nsfns.m, w32xfns.c (x_sync): Remove no-op.
* w32term.h (x_sync): Remove prototype.

src/ChangeLog
src/frame.c
src/frame.h
src/nsfns.m
src/w32term.h
src/w32xfns.c

index 231d9771e1504a60a2c5968dcc473b39e235ad88..c6eb58071e835f212fc3b3ef9a93860e146e5c64 100644 (file)
@@ -1,3 +1,11 @@
+2013-09-09  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       Do not populate pure Xism x_sync to other ports.
+       * frame.h (x_sync): Move under HAVE_X_WINDOWS.
+       * frame.c (other_visible_frames) [HAVE_X_WINDOWS]: Use as such.
+       * nsfns.m, w32xfns.c (x_sync): Remove no-op.
+       * w32term.h (x_sync): Remove prototype.
+
 2013-09-09  Dmitry Antipov  <dmantipov@yandex.ru>
 
        Cleanup frame flushing.
index 0f1560df157822d18151c5244c1a3357fa284026..692d224866cc1646ea18321fd75230910f6ae6e2 100644 (file)
@@ -1108,7 +1108,7 @@ other_visible_frames (struct frame *f)
 
       /* Verify that we can still talk to the frame's X window,
         and note any recent change in visibility.  */
-#ifdef HAVE_WINDOW_SYSTEM
+#ifdef HAVE_X_WINDOWS
       if (FRAME_WINDOW_P (XFRAME (this)))
        x_sync (XFRAME (this));
 #endif
index 3d9457ce4d744f79042dd5c408bec12f469c357b..baf8d6b93a98c92b0c461d6285374515116fc439 100644 (file)
@@ -1243,7 +1243,6 @@ extern Lisp_Object display_x_get_resource (Display_Info *,
 extern void set_frame_menubar (struct frame *f, bool first_time, bool deep_p);
 extern void x_set_window_size (struct frame *f, int change_grav,
                               int cols, int rows);
-extern void x_sync (struct frame *);
 extern Lisp_Object x_get_focus_frame (struct frame *);
 extern void x_set_mouse_position (struct frame *f, int h, int v);
 extern void x_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y);
@@ -1269,7 +1268,8 @@ extern void x_wm_set_icon_position (struct frame *, int, int);
 #if !defined USE_X_TOOLKIT
 extern char *x_get_resource_string (const char *, const char *);
 #endif
-#endif
+extern void x_sync (struct frame *);
+#endif /* HAVE_X_WINDOWS */
 
 extern void x_query_colors (struct frame *f, XColor *, int);
 extern void x_query_color (struct frame *f, XColor *);
index fc276c2b12d482b0e5b6d341a49ff2c2fb91f180..f021e834d594b8c6b2c4f6c68664c746163300da 100644 (file)
@@ -2231,15 +2231,6 @@ x_get_focus_frame (struct frame *frame)
   return nsfocus;
 }
 
-void
-x_sync (struct frame *f)
-{
-  /* XXX Not implemented XXX */
-  return;
-}
-
-
-
 /* ==========================================================================
 
     Lisp definitions that, for whatever reason, we can't alias as 'ns-XXX'.
index 41c5c71832a922ae620499760d295b15dff56f5a..b4818f69aeed5827abe2a7e9901892f656100f76 100644 (file)
@@ -211,7 +211,6 @@ extern void x_set_window_size (struct frame *f, int change_grav,
                               int cols, int rows);
 extern int x_display_pixel_height (struct w32_display_info *);
 extern int x_display_pixel_width (struct w32_display_info *);
-extern void x_sync (struct frame *);
 extern Lisp_Object x_get_focus_frame (struct frame *);
 extern void x_set_mouse_position (struct frame *f, int h, int v);
 extern void x_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y);
index 19c6b72bf8981b051aa251eeec2e45070ab5d3c1..7629e49caf88240af30e1dc4bba74cc8d9c56ae4 100644 (file)
@@ -333,9 +333,3 @@ drain_message_queue (void)
     }
   return retval;
 }
-
-/* x_sync is a no-op on W32.  */
-void
-x_sync (struct frame *f)
-{
-}