]> git.eshelyaron.com Git - emacs.git/commit
Adjust offset and border calculations for X.
authorJan D <jhd@f20.localdomain>
Fri, 27 Feb 2015 17:46:26 +0000 (18:46 +0100)
committerJan D <jhd@f20.localdomain>
Fri, 27 Feb 2015 17:46:26 +0000 (18:46 +0100)
commit0537943561a37b54467bec19d1b8afbeba8e1e58
tree314fc4a4f61da5b881aae1a7add66a498d21adb3
parentb2a590d4e3dc692a97c1b53e015b945d84b4b4c7
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.
src/ChangeLog
src/xfns.c
src/xmenu.c
src/xterm.h