From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#25851: 25.2; GTK warning when starting Emacs when desktop file has more than one frame Date: Fri, 03 Mar 2017 08:05:21 -0500 Message-ID: <87k28633zi.fsf@moondust.localdomain> References: <87a89c51qb.fsf@moondust.localdomain> <831suoub86.fsf@gnu.org> <87lgswmi6a.fsf@moondust.localdomain> <83vas0rozb.fsf@gnu.org> <87k28fso3o.fsf@moondust.localdomain> <83o9xrsmrd.fsf@gnu.org> <874lzjsh8t.fsf@moondust.localdomain> <87y3wvqqos.fsf@moondust.localdomain> <83fuj2smzr.fsf@gnu.org> <87wpccmv71.fsf@moondust.localdomain> <87d1e4mq48.fsf@moondust.localdomain> <83innvppz4.fsf@gnu.org> <58B546EE.2030500@gmx.at> <831suipb3r.fsf@gnu.org> <58B5C4A1.6050601@gmx.at> <83shmyno97.fsf@gnu.org> <58B6866B.2040307@gmx.at> <83fuixnf7l.fsf@gnu.org> <58B722AA.4090501@gmx.at> <87d1e0iwgq.fsf@moondust.localdomain> <58B92594.9000402@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488546403 3736 195.159.176.226 (3 Mar 2017 13:06:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2017 13:06:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 25851@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 03 14:06:36 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjmuj-000875-CN for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Mar 2017 14:06:29 +0100 Original-Received: from localhost ([::1]:57987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjmup-0000RY-Hp for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Mar 2017 08:06:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjmuN-0000Eb-GI for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 08:06:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjmuI-0004fP-He for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 08:06:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjmuI-0004fF-En for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 08:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cjmuI-0004kD-5P for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 08:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Mar 2017 13:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25851-submit@debbugs.gnu.org id=B25851.148854633218201 (code B ref 25851); Fri, 03 Mar 2017 13:06:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 3 Mar 2017 13:05:32 +0000 Original-Received: from localhost ([127.0.0.1]:37509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjmto-0004jV-8I for submit@debbugs.gnu.org; Fri, 03 Mar 2017 08:05:32 -0500 Original-Received: from mail-io0-f193.google.com ([209.85.223.193]:33223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjmtm-0004jH-N6 for 25851@debbugs.gnu.org; Fri, 03 Mar 2017 08:05:30 -0500 Original-Received: by mail-io0-f193.google.com with SMTP id f84so11298756ioj.0 for <25851@debbugs.gnu.org>; Fri, 03 Mar 2017 05:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5nLkHd1rKcQgl/akTbQBYJG7MZp0knV4LcNH4EFgsV4=; b=tUMSxdDjttLmgGwaVacFDwQLDjYEjfgs/1exHxrAPlGTBoclBkQfZl6ZlINZ9wioaz MVoiv8ZfUsUYYb9GVg7dHRP1rbhui+IRG9/sitpiF6lHhjllueC45hh6TIlBdFMujI9w eokRULdgTlv33kVDg3ZtK3TD7uXoAMliy0NViEoGwPO0BmAQXoTnmmE7jR2kc2AW0Vp/ u2sD4XdmCm174L28HVcQ7P3l4jjZSh4djf7oV44vTQz1xeu453Y3BvBXVxeOeqYK85q0 R0RmtASifY2rIymLAXUeFaNn3FRjGx0SPz2rQ/56OXnUCn933zYK+3aq3aXQNe4ReU9U REKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=5nLkHd1rKcQgl/akTbQBYJG7MZp0knV4LcNH4EFgsV4=; b=Z1d0/NDofepRugLmf8xSU8uj7Zs58s8wbIJQRwN64s0JXIk0rt+8w/L0xM+4n85bYu HYSKhxxQqFHSJTUgIz++EQSSO9QeWI7KegkkAUnXRHVA/xSkYCx0BdarlhXOG0GtdOQq 8ONUmC4aFS2I/+NXOcc1KxJ7gjdhgOLOXd6OtzI15KA3gYs++HAVmRG6wtSc5KLcJR8y 13bv97+hi0ebw7gvprgSgyCaNjaGz6fuoquk3eC530WCvw1lWTTHDwpyEMQr7+p3dkC4 06n+LUD0AHAFdjDUoeqoBGH9CUiCxQJY3ELCBSsG1j6tfvDmgaQ+y1wHyychEcr68oPz 92ZQ== X-Gm-Message-State: AMke39nUhzuPtt4ZxsACP6gPyzSTqHpuwNRBoQ0L5tvCfltRtJRKfVTOKvUyMPMzwkc/5g== X-Received: by 10.107.155.146 with SMTP id d140mr872652ioe.125.1488546325121; Fri, 03 Mar 2017 05:05:25 -0800 (PST) Original-Received: from moondust.localdomain.nodomain.none ([184.151.61.131]) by smtp.gmail.com with ESMTPSA id f75sm4617085iof.9.2017.03.03.05.05.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Mar 2017 05:05:24 -0800 (PST) In-Reply-To: <58B92594.9000402@gmx.at> (martin rudalics's message of "Fri, 03 Mar 2017 09:13:08 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130102 Archived-At: At 09:13 +0100 on Friday 2017-03-03, martin rudalics wrote: > 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 have replaced the xg_set_geometry() in my Emacs with the one above. So far so good. (I haven't noticed any difference. (Aside from the welcome elimination of the GTK warning message.) > 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. I've tried closing and restarting Emacs with various frame / window configurations (including "full screen" frames with the title bar hidden), and the desktops restore just fine [1]. And restoring / maximizing frames using the window decorations works fine too. [1] As has been happening for a while, buffers seem to be assigned randomly (it seems) to the windows restored from the desktop file; I'm still convinced that in the past on starting Emacs the windows restored from the desktop file used to come up with the same buffer in them as they had when the desktop file was saved. N.