Handle negative frame position values in xterm.c (Bug#76190)
* src/xterm.c (x_calc_absolute_position): Always handle negative positions when XNegative or YNegative were set (Bug#76190).
This commit is contained in:
parent
b5404a205c
commit
8eef890739
1 changed files with 2 additions and 2 deletions
|
@ -27512,7 +27512,7 @@ x_calc_absolute_position (struct frame *f)
|
|||
|
||||
/* Treat negative positions as relative to the leftmost bottommost
|
||||
position that fits on the screen. */
|
||||
if ((flags & XNegative) && (f->left_pos <= 0))
|
||||
if (flags & XNegative)
|
||||
{
|
||||
int width = FRAME_PIXEL_WIDTH (f);
|
||||
|
||||
|
@ -27539,7 +27539,7 @@ x_calc_absolute_position (struct frame *f)
|
|||
|
||||
}
|
||||
|
||||
if ((flags & YNegative) && (f->top_pos <= 0))
|
||||
if (flags & YNegative)
|
||||
{
|
||||
int height = FRAME_PIXEL_HEIGHT (f);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue