Mercurial > emacs
diff src/xterm.c @ 52546:4e5fa718d892
* xterm.c (x_set_offset): Take window manager decorations
into account.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Fri, 19 Sep 2003 14:45:21 +0000 |
parents | 695cf19ef79e |
children | 4a9a4669a2b1 |
line wrap: on
line diff
--- a/src/xterm.c Fri Sep 19 14:43:31 2003 +0000 +++ b/src/xterm.c Fri Sep 19 14:45:21 2003 +0000 @@ -8314,12 +8314,15 @@ f->win_gravity = NorthWestGravity; } x_calc_absolute_position (f); - + BLOCK_INPUT; x_wm_set_size_hint (f, (long) 0, 0); modified_left = f->left_pos; modified_top = f->top_pos; + modified_left += FRAME_X_OUTPUT (f)->x_pixels_outer_diff; + modified_top += FRAME_X_OUTPUT (f)->y_pixels_outer_diff; + #if 0 /* Running on psilocin (Debian), and displaying on the NCD X-terminal, this seems to be unnecessary and incorrect. rms, 4/17/97. */ /* It is a mystery why we need to add the border_width here