mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 04:10:27 -08:00
* xterm.c (x_set_offset): Take window manager decorations
into account.
This commit is contained in:
parent
b0f23edf1c
commit
8f5b9e349e
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2003-09-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
|
||||
|
||||
* xterm.c (x_set_offset): Take window manager decorations
|
||||
into account.
|
||||
|
||||
2003-09-19 Richard M. Stallman <rms@gnu.org>
|
||||
|
||||
* atimer.h: Don't include lisp.h.
|
||||
|
|
|
|||
|
|
@ -8314,12 +8314,15 @@ x_set_offset (f, xoff, yoff, change_gravity)
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue