summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorJan D <jhd@f20.localdomain>2015-02-27 18:46:26 +0100
committerJan D <jhd@f20.localdomain>2015-02-27 18:46:26 +0100
commit0537943561a37b54467bec19d1b8afbeba8e1e58 (patch)
tree314fc4a4f61da5b881aae1a7add66a498d21adb3 /src/xterm.h
parentb2a590d4e3dc692a97c1b53e015b945d84b4b4c7 (diff)
downloademacs-0537943561a37b54467bec19d1b8afbeba8e1e58.tar.gz
Adjust offset and border calculations for X.
* xfns.c (x_real_pos_and_offsets): Take outer_border as arg also. Initialize all args. Get outer_border from window attributes. Fix typo for top_offset_y. (x_real_positions): Adjust for new arg to x_real_pos_and_offsets. (Fx_frame_geometry): Get outer_border also. Use attrs.width/height. * xmenu.c (x_menu_show): Adjust for new arg to x_real_pos_and_offsets. * xterm.h (x_real_pos_and_offsets): Take outer_border as arg also.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 16868f114e8..0366261b2f4 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -960,7 +960,8 @@ extern void x_real_pos_and_offsets (struct frame *f,
int *x_pixels_diff,
int *y_pixels_diff,
int *xptr,
- int *yptr);
+ int *yptr,
+ int *outer_border);
/* From xrdb.c. */