GNU bug report logs - #25851
25.2; GTK warning when starting Emacs when desktop file has more than one frame

Previous Next

Package: emacs;

Reported by: nljlistbox2 <at> gmail.com (N. Jackson)

Date: Thu, 23 Feb 2017 16:09:01 UTC

Severity: normal

Found in version 25.2

Done: nljlistbox2 <at> gmail.com (N. Jackson)

Bug is archived. No further changes may be made.

Full log


Message #122 received at 25851 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: "N. Jackson" <nljlistbox2 <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 25851 <at> debbugs.gnu.org
Subject: Re: bug#25851: 25.2; GTK warning when starting Emacs when desktop
 file has more than one frame
Date: Fri, 03 Mar 2017 09:13:08 +0100
> If we removed the arguably illegitimate chicanery, what
> functionality, specifically, would be lost? Might it be achieved
> in a more straightforward way?

That's a good summary of the problem.  Try to use the following
definition of xg_set_geometry:

static void
xg_set_geometry (struct frame *f)
{
  gtk_window_move (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)),
		   f->left_pos, f->top_pos);
}

I suppose it might break things like starting with a specified geometry
and a maximized frame and trying to demaximize the frame afterwards.  It
might as well work.

The greatest problem in this area is always to find a solution that fits
(almost) all window managers and user preferences.

martin




This bug report was last modified 7 years and 244 days ago.

Previous Next


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