summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-07-15 20:52:46 +0000
committerJim Blandy <jimb@redhat.com>1992-07-15 20:52:46 +0000
commit4357eba769352561a89081a31f67729abd44ea04 (patch)
treeea70976b4df3b5bd2ad90961579ef1ec8118d739
parent1265558a6a1da71fec342714940f64f406bb32d9 (diff)
downloademacs-4357eba769352561a89081a31f67729abd44ea04.tar.gz
emacs-4357eba769352561a89081a31f67729abd44ea04.tar.bz2
emacs-4357eba769352561a89081a31f67729abd44ea04.zip
entered into RCS
-rw-r--r--src/xterm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 375cf28afc2..7d18ff7e5d7 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1825,8 +1825,8 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
{
int new_x, new_y;
- new_x = event.xclient.data.f[0];
- new_y = event.xclient.data.f[1];
+ new_x = event.xclient.data.s[0];
+ new_y = event.xclient.data.s[1];
}
}
break;
@@ -3195,11 +3195,11 @@ x_calc_absolute_position (f)
#ifdef HAVE_X11
if (f->display.x->left_pos < 0)
f->display.x->left_pos
- = XINT (x_frame_width) - PIXEL_WIDTH (f) + f->display.x->left_pos;
+ = XINT (x_screen_width) - PIXEL_WIDTH (f) + f->display.x->left_pos;
if (f->display.x->top_pos < 0)
f->display.x->top_pos
- = XINT (x_frame_height) - PIXEL_HEIGHT (f) + f->display.x->top_pos;
+ = XINT (x_screen_height) - PIXEL_HEIGHT (f) + f->display.x->top_pos;
#else /* X10 */
WINDOWINFO_TYPE parentinfo;