]> git.eshelyaron.com Git - emacs.git/commitdiff
[MULTI_PERDISPLAY] (get_perdisplay): Define this as an exported function.
authorKarl Heuer <kwzh@gnu.org>
Tue, 31 Jan 1995 01:53:12 +0000 (01:53 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 31 Jan 1995 01:53:12 +0000 (01:53 +0000)
src/xterm.c

index 6e3d2056cb1371ca9f91bfe36d8871e69abf72df..7a3249a4675ef7fa53222f01fa7f82c7c487485a 100644 (file)
@@ -264,6 +264,19 @@ x_display_info_for_display (dpy)
 
   return 0;
 }
+
+#ifdef MULTI_PERDISPLAY
+/* Return the perdisplay struct corresponding to FRAME.  */
+#undef get_perdisplay
+
+PERDISPLAY *
+get_perdisplay(frame)
+     FRAME_PTR frame;
+{
+  return get_perdisplay_macro (frame);
+}
+#define get_perdisplay(frame) get_perdisplay_macro (frame)
+#endif
 \f
 /* Starting and ending updates.