diff options
| author | Kim F. Storm | 2003-03-21 23:00:21 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-03-21 23:00:21 +0000 |
| commit | 4612b1552540b0ea94857b8a71a5ba07a2b90226 (patch) | |
| tree | 4f93a9ed57e943cb5465d104cde9c446774478ab /src | |
| parent | e080d3ebbf5823a103ff1f9c7614f05e55d91793 (diff) | |
| download | emacs-4612b1552540b0ea94857b8a71a5ba07a2b90226.tar.gz emacs-4612b1552540b0ea94857b8a71a5ba07a2b90226.zip | |
(STORE_NATIVE_RECT): New macro.
Diffstat (limited to 'src')
| -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)); | |||
| 1051 | void x_wm_set_window_state P_ ((struct frame *, int)); | 1051 | void x_wm_set_window_state P_ ((struct frame *, int)); |
| 1052 | int x_alloc_nearest_color P_ ((struct frame *, Colormap, XColor *)); | 1052 | int x_alloc_nearest_color P_ ((struct frame *, Colormap, XColor *)); |
| 1053 | 1053 | ||
| 1054 | extern void pixel_to_glyph_coords P_ ((struct frame *, int, int, | ||
| 1055 | int *, int *, XRectangle *, int)); | ||
| 1056 | |||
| 1057 | /* Defined in xterm.c */ | 1054 | /* Defined in xterm.c */ |
| 1058 | 1055 | ||
| 1059 | extern void cancel_mouse_face P_ ((struct frame *)); | 1056 | extern void cancel_mouse_face P_ ((struct frame *)); |
| @@ -1183,3 +1180,9 @@ extern int x_session_have_connection P_ ((void)); | |||
| 1183 | #define XCHAR2B_BYTE2(chp) \ | 1180 | #define XCHAR2B_BYTE2(chp) \ |
| 1184 | ((chp)->byte2) | 1181 | ((chp)->byte2) |
| 1185 | 1182 | ||
| 1183 | |||
| 1184 | #define STORE_NATIVE_RECT(nr,rx,ry,rwidth,rheight) \ | ||
| 1185 | ((nr).x = (rx), \ | ||
| 1186 | (nr).y = (ry), \ | ||
| 1187 | (nr).width = (rwidth), \ | ||
| 1188 | (nr).height = (rheight)) | ||