# HG changeset patch # User Kim F. Storm # Date 1048287621 0 # Node ID 04d8f8a13cf86805da3847e5e499315a155c9bc1 # Parent f9447a2e045c93f19232b41a0bc4ec25a149944b (STORE_NATIVE_RECT): New macro. diff -r f9447a2e045c -r 04d8f8a13cf8 src/xterm.h --- 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))