From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18722: Correction Date: Thu, 16 Oct 2014 20:53:43 -0400 Message-ID: References: <874mv6jt7g.fsf@gmail.com> <878ukhko3u.fsf@posteo.de> <543F8747.7020804@gmx.at> <83fveo49fb.fsf@gnu.org> <87tx345ay2.fsf@posteo.de> <83wq802hfz.fsf@gnu.org> <87r3y859ua.fsf@posteo.de> <83siio2fl7.fsf@gnu.org> <87egu7k938.fsf@posteo.de> <871tq7zlyv.fsf@posteo.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1413507267 5289 80.91.229.3 (17 Oct 2014 00:54:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2014 00:54:27 +0000 (UTC) Cc: 18722@debbugs.gnu.org To: Titus von der Malsburg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 02:54:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xevo8-0000Nh-GB for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2014 02:54:16 +0200 Original-Received: from localhost ([::1]:56096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xevo7-0005IX-M6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Oct 2014 20:54:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xevo0-0005I0-84 for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 20:54:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xevnv-0007wZ-79 for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 20:54:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xevnv-0007wU-3W for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 20:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xevnu-0002Hy-Dm for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2014 20:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Oct 2014 00:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18722 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18722-submit@debbugs.gnu.org id=B18722.14135072278772 (code B ref 18722); Fri, 17 Oct 2014 00:54:02 +0000 Original-Received: (at 18722) by debbugs.gnu.org; 17 Oct 2014 00:53:47 +0000 Original-Received: from localhost ([127.0.0.1]:46480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xevne-0002HQ-Qg for submit@debbugs.gnu.org; Thu, 16 Oct 2014 20:53:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:45912) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xevnc-0002HI-9u for 18722@debbugs.gnu.org; Thu, 16 Oct 2014 20:53:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AroGAIDvNVNFxKjo/2dsb2JhbABZgwY7gw+4aCCHNYEXF3SCJQEBAQECAQECJC8jBQsLNBIUFAQNJBOHcQgN0gwTBI56B4Q4BJV3kyKBaoNMIQ X-IPAS-Result: AroGAIDvNVNFxKjo/2dsb2JhbABZgwY7gw+4aCCHNYEXF3SCJQEBAQECAQECJC8jBQsLNBIUFAQNJBOHcQgN0gwTBI56B4Q4BJV3kyKBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="94395739" Original-Received: from 69-196-168-232.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.232]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Oct 2014 20:53:43 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 60A8985A2; Thu, 16 Oct 2014 20:53:43 -0400 (EDT) In-Reply-To: <871tq7zlyv.fsf@posteo.de> (Titus von der Malsburg's message of "Thu, 16 Oct 2014 15:31:04 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94658 > For those who are not using git, it was this commit: > https://lists.gnu.org/archive/html/emacs-diffs/2014-09/msg00085.html Hmm... kind of hard to imagine how that could have such an effect. OTOH the next commit after this one looks like a possible candidate: =3D=3D=3D modified file 'src/ChangeLog' --- src/ChangeLog 2014-09-10 16:52:50 +0000 +++ src/ChangeLog 2014-09-10 17:02:42 +0000 @@ -1,3 +1,8 @@ +2014-09-10 Jan Dj=E4rv + + * xterm.c (handle_one_xevent): Detect iconified by looking at + _NET_WM_STATE_HIDDEN. + 2014-09-10 Paul Eggert =20=20=20=20=20 * lisp.h (DEFINE_GDB_SYMBOL_ENUM): Remove. =20=20=20=20 =3D=3D=3D modified file 'src/xterm.c' --- src/xterm.c 2014-09-09 03:22:36 +0000 +++ src/xterm.c 2014-09-10 17:02:42 +0000 @@ -6860,6 +6860,14 @@ inev.ie.kind =3D DEICONIFY_EVENT; XSETFRAME (inev.ie.frame_or_window, f); } + else if (! FRAME_ICONIFIED_P (f) + && f->output_data.x->net_wm_state_hidden_seen) + { + SET_FRAME_VISIBLE (f, 0); + SET_FRAME_ICONIFIED (f, 1); + inev.ie.kind =3D ICONIFY_EVENT; + XSETFRAME (inev.ie.frame_or_window, f); + } =20=20=20=20=20 x_handle_property_notify (&event->xproperty); xft_settings_event (dpyinfo, event); Can you try the patch below (applied to the latest trunk code) to see if your problem is really triggered by this commit? Stefan =3D=3D=3D modified file 'src/xterm.c' --- src/xterm.c 2014-10-12 06:09:50 +0000 +++ src/xterm.c 2014-10-17 00:51:47 +0000 @@ -6864,14 +6864,6 @@ inev.ie.kind =3D DEICONIFY_EVENT; XSETFRAME (inev.ie.frame_or_window, f); } - else if (! FRAME_ICONIFIED_P (f) - && f->output_data.x->net_wm_state_hidden_seen) - { - SET_FRAME_VISIBLE (f, 0); - SET_FRAME_ICONIFIED (f, 1); - inev.ie.kind =3D ICONIFY_EVENT; - XSETFRAME (inev.ie.frame_or_window, f); - } } =20 x_handle_property_notify (&event->xproperty);