changeset 50248:04d8f8a13cf8

(STORE_NATIVE_RECT): New macro.
author Kim F. Storm <storm@cua.dk>
date Fri, 21 Mar 2003 23:00:21 +0000
parents f9447a2e045c
children ab5177b4137b
files src/xterm.h
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.h	Fri Mar 21 22:56:52 2003 +0000
+++ b/src/xterm.h	Fri Mar 21 23:00:21 2003 +0000
@@ -1051,9 +1051,6 @@
 void x_wm_set_window_state P_ ((struct frame *, int));
 int x_alloc_nearest_color P_ ((struct frame *, Colormap, XColor *));
 
-extern void pixel_to_glyph_coords P_ ((struct frame *, int, int,
-				       int *, int *, XRectangle *, int));
-
 /* Defined in xterm.c */
 
 extern void cancel_mouse_face P_ ((struct frame *));
@@ -1183,3 +1180,9 @@
 #define XCHAR2B_BYTE2(chp) \
   ((chp)->byte2)
 
+
+#define STORE_NATIVE_RECT(nr,rx,ry,rwidth,rheight)	\
+  ((nr).x = (rx),					\
+   (nr).y = (ry),					\
+   (nr).width = (rwidth),				\
+   (nr).height = (rheight))