diff options
| author | Richard M. Stallman | 1996-03-17 18:14:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-03-17 18:14:52 +0000 |
| commit | 2e365682cf676cd7563c884e876bbfc6e22d5e00 (patch) | |
| tree | a18cb995dece1b45311ca698f077fe1564ea44fe /src/xterm.c | |
| parent | 846dd8ae73d3dd0fa75a5c224f2e57912c32fc21 (diff) | |
| download | emacs-2e365682cf676cd7563c884e876bbfc6e22d5e00.tar.gz emacs-2e365682cf676cd7563c884e876bbfc6e22d5e00.zip | |
Comment/whitespace change.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/xterm.c b/src/xterm.c index 219a56ebec1..28931a370fa 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* X Communication module for terminals which understand the X protocol. | 1 | /* X Communication module for terminals which understand the X protocol. |
| 2 | Copyright (C) 1989, 1993, 1994, 1995 Free Software Foundation, Inc. | 2 | Copyright (C) 1989, 93, 94, 95, 1996 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -4948,6 +4948,9 @@ x_new_font (f, fontname) | |||
| 4948 | } | 4948 | } |
| 4949 | } | 4949 | } |
| 4950 | 4950 | ||
| 4951 | /* Calculate the absolute position in frame F | ||
| 4952 | from its current recorded position values and gravity. */ | ||
| 4953 | |||
| 4951 | x_calc_absolute_position (f) | 4954 | x_calc_absolute_position (f) |
| 4952 | struct frame *f; | 4955 | struct frame *f; |
| 4953 | { | 4956 | { |
| @@ -4985,17 +4988,18 @@ x_calc_absolute_position (f) | |||
| 4985 | position that fits on the screen. */ | 4988 | position that fits on the screen. */ |
| 4986 | if (flags & XNegative) | 4989 | if (flags & XNegative) |
| 4987 | f->output_data.x->left_pos = (FRAME_X_DISPLAY_INFO (f)->width | 4990 | f->output_data.x->left_pos = (FRAME_X_DISPLAY_INFO (f)->width |
| 4988 | - 2 * f->output_data.x->border_width - win_x | 4991 | - 2 * f->output_data.x->border_width - win_x |
| 4989 | - PIXEL_WIDTH (f) | 4992 | - PIXEL_WIDTH (f) |
| 4990 | + f->output_data.x->left_pos); | 4993 | + f->output_data.x->left_pos); |
| 4991 | 4994 | ||
| 4992 | if (flags & YNegative) | 4995 | if (flags & YNegative) |
| 4993 | /* We used to subtract f->output_data.x->menubar_height here | 4996 | /* We used to subtract f->output_data.x->menubar_height here |
| 4994 | in the toolkit case, but PIXEL_HEIGHT already includes that. */ | 4997 | in the toolkit case, but PIXEL_HEIGHT already includes that. */ |
| 4995 | f->output_data.x->top_pos = (FRAME_X_DISPLAY_INFO (f)->height | 4998 | f->output_data.x->top_pos = (FRAME_X_DISPLAY_INFO (f)->height |
| 4996 | - 2 * f->output_data.x->border_width - win_y | 4999 | - 2 * f->output_data.x->border_width - win_y |
| 4997 | - PIXEL_HEIGHT (f) | 5000 | - PIXEL_HEIGHT (f) |
| 4998 | + f->output_data.x->top_pos); | 5001 | + f->output_data.x->top_pos); |
| 5002 | |||
| 4999 | /* The left_pos and top_pos | 5003 | /* The left_pos and top_pos |
| 5000 | are now relative to the top and left screen edges, | 5004 | are now relative to the top and left screen edges, |
| 5001 | so the flags should correspond. */ | 5005 | so the flags should correspond. */ |