aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
1825 { 1825 {
1826 int new_x, new_y; 1826 int new_x, new_y;
1827 1827
1828 new_x = event.xclient.data.f[0]; 1828 new_x = event.xclient.data.s[0];
1829 new_y = event.xclient.data.f[1]; 1829 new_y = event.xclient.data.s[1];
1830 } 1830 }
1831 } 1831 }
1832 break; 1832 break;
@@ -3195,11 +3195,11 @@ x_calc_absolute_position (f)
3195#ifdef HAVE_X11 3195#ifdef HAVE_X11
3196 if (f->display.x->left_pos < 0) 3196 if (f->display.x->left_pos < 0)
3197 f->display.x->left_pos 3197 f->display.x->left_pos
3198 = XINT (x_frame_width) - PIXEL_WIDTH (f) + f->display.x->left_pos; 3198 = XINT (x_screen_width) - PIXEL_WIDTH (f) + f->display.x->left_pos;
3199 3199
3200 if (f->display.x->top_pos < 0) 3200 if (f->display.x->top_pos < 0)
3201 f->display.x->top_pos 3201 f->display.x->top_pos
3202 = XINT (x_frame_height) - PIXEL_HEIGHT (f) + f->display.x->top_pos; 3202 = XINT (x_screen_height) - PIXEL_HEIGHT (f) + f->display.x->top_pos;
3203#else /* X10 */ 3203#else /* X10 */
3204 WINDOWINFO_TYPE parentinfo; 3204 WINDOWINFO_TYPE parentinfo;
3205 3205