diff options
author | Kim F. Storm <storm@cua.dk> | 2003-03-21 23:00:21 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2003-03-21 23:00:21 +0000 |
commit | 4612b1552540b0ea94857b8a71a5ba07a2b90226 (patch) | |
tree | 4f93a9ed57e943cb5465d104cde9c446774478ab /src/xterm.h | |
parent | e080d3ebbf5823a103ff1f9c7614f05e55d91793 (diff) | |
download | emacs-4612b1552540b0ea94857b8a71a5ba07a2b90226.tar.gz |
(STORE_NATIVE_RECT): New macro.
Diffstat (limited to 'src/xterm.h')
-rw-r--r-- | src/xterm.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/xterm.h b/src/xterm.h index b909aea8de0..cac5930c1cf 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -1051,9 +1051,6 @@ void x_set_window_size P_ ((struct frame *, int, int, int)); 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 @@ extern int x_session_have_connection P_ ((void)); #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)) |