Mercurial > emacs
diff src/xterm.c @ 786:22b760626b36
entered into RCS
| author | Jim Blandy <jimb@redhat.com> |
|---|---|
| date | Wed, 15 Jul 1992 20:52:46 +0000 |
| parents | 538c0bcb418e |
| children | cbdfc337ec8f |
line wrap: on
line diff
--- a/src/xterm.c Wed Jul 15 20:51:10 1992 +0000 +++ b/src/xterm.c Wed Jul 15 20:52:46 1992 +0000 @@ -1825,8 +1825,8 @@ { 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 @@ #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;
