From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25851: 25.2; GTK warning when starting Emacs when desktop file has more than one frame Date: Sat, 25 Feb 2017 09:55:14 +0200 Message-ID: <83h93iso0t.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1488009378 3964 195.159.176.226 (25 Feb 2017 07:56:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2017 07:56:18 +0000 (UTC) Cc: 25851@debbugs.gnu.org To: nljlistbox2@gmail.com (N. Jackson) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 25 08:56:13 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 1chXD8-0000P0-30 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2017 08:56:10 +0100 Original-Received: from localhost ([::1]:41678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chXDD-0001iF-UF for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2017 02:56:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chXD7-0001hj-2F for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 02:56:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chXD0-00025P-Lc for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 02:56:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chXD0-000251-Ie for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 02:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1chXD0-0003hu-Ac for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 02:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Feb 2017 07:56: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.148800934914232 (code B ref 25851); Sat, 25 Feb 2017 07:56:02 +0000 Original-Received: (at 25851) by debbugs.gnu.org; 25 Feb 2017 07:55:49 +0000 Original-Received: from localhost ([127.0.0.1]:55120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chXCn-0003hU-As for submit@debbugs.gnu.org; Sat, 25 Feb 2017 02:55:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chXCl-0003hI-QV for 25851@debbugs.gnu.org; Sat, 25 Feb 2017 02:55:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chXCd-0001xQ-IW for 25851@debbugs.gnu.org; Sat, 25 Feb 2017 02:55:42 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chXCd-0001xM-G7; Sat, 25 Feb 2017 02:55:39 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2874 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1chXCc-0005GF-Jg; Sat, 25 Feb 2017 02:55:39 -0500 In-reply-to: <874lzjsh8t.fsf@moondust.localdomain> (nljlistbox2@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:129762 Archived-At: > From: nljlistbox2@gmail.com (N. Jackson) > Cc: 25851@debbugs.gnu.org > Date: Fri, 24 Feb 2017 11:09:22 -0500 > > This is my interaction with GDB after `C-x 5 2': > > Thread 1 "emacs" hit Breakpoint 3, xg_set_geometry (f=0x386d000) at gtkutil.c:778 > 778 if (f->size_hint_flags & (USPosition | PPosition)) > (gdb) print f->size_hint_flags > $3 = 0 If the value of the hint flags is zero, none of the individual hints will match, obviously. > (gdb) print USPosition > No symbol "USPosition" in current context. > (gdb) print PPosition > No symbol "PPosition" in current context. > (gdb) print (USPosition | PPosition) > No symbol "USPosition" in current context. > (gdb) print (f->size_hint_flags & (USPosition | PPosition)) > No symbol "USPosition" in current context. > (gdb) n > 808 } > (gdb) > > Is my syntax wrong when I try to get the values? It sometimes happens with preprocessor macros. The trick I use in those cases is this: (gdb) print USPosition+0 If even this doesn't help, it most probably means Emacs wasn't compiled with the -g3 flag. In any case, googling finds this: https://tronche.com/gui/x/xlib/ICC/client-to-window-manager/wm-normal-hints.html which shows the values of the flags.