GNU bug report logs - #52697
29.0.50; pgtk: wrong initial frame parameter values

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Tue, 21 Dec 2021 09:06:02 UTC

Severity: normal

Found in version 29.0.50

Done: Stephen Berman <stephen.berman <at> gmx.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 52697 <at> debbugs.gnu.org
Subject: bug#52697: 29.0.50; pgtk: wrong initial frame parameter values
Date: Tue, 08 Feb 2022 21:39:17 +0800
Stephen Berman <stephen.berman <at> gmx.net> writes:

> Thanks very much, I confirm your patch essentially fixes the bug, except
> for mistakenly switching the top and left parameters:
>
> diff --git a/src/pgtkterm.c b/src/pgtkterm.c
> index e9fd5f83b7..8faffe94d4 100644
> --- a/src/pgtkterm.c
> +++ b/src/pgtkterm.c
> @@ -5552,7 +5552,7 @@ configure_event (GtkWidget *widget,
>
>        if (f->win_gravity == NorthWestGravity)
>  	gtk_window_get_position (GTK_WINDOW (widget),
> -				 &f->top_pos, &f->left_pos);
> +				 &f->left_pos, &f->top_pos);
>        else
>  	{
>  	  f->top_pos = event->configure.y;
>
>
> Steve Berman

Thanks, should be fixed now on master.




This bug report was last modified 3 years and 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.