diff options
| author | Jan D <jhd@f20.localdomain> | 2015-02-27 18:46:26 +0100 |
|---|---|---|
| committer | Jan D <jhd@f20.localdomain> | 2015-02-27 18:46:26 +0100 |
| commit | 0537943561a37b54467bec19d1b8afbeba8e1e58 (patch) | |
| tree | 314fc4a4f61da5b881aae1a7add66a498d21adb3 /src/xmenu.c | |
| parent | b2a590d4e3dc692a97c1b53e015b945d84b4b4c7 (diff) | |
| download | emacs-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/xmenu.c')
| -rw-r--r-- | src/xmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 5794f12ccb7..f183c70b110 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -2077,7 +2077,7 @@ x_menu_show (struct frame *f, int x, int y, int menuflags, int left_off, top_off; x_real_pos_and_offsets (f, &left_off, NULL, &top_off, NULL, - NULL, NULL, NULL, NULL); + NULL, NULL, NULL, NULL, NULL); x += left_off; y += top_off; |
