From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#14841: Frames created invisible have their visibility parameter set to t Date: Wed, 31 Jul 2013 10:33:33 +0200 Message-ID: <51F8CBDD.6050702@gmx.at> References: <837ggxukjt.fsf@gnu.org> <83hafx3wzz.fsf@gnu.org> <83vc45xuht.fsf@gnu.org> <83li4uv3en.fsf@gnu.org> <83hafhvnjd.fsf@gnu.org> <83wqodzll1.fsf@gnu.org> <51F3C056.2040706@gmx.at> <838v0syx2y.fsf@gnu.org> <51F3CB7C.1030005@gmx.at> <8361vwyq7f.fsf@gnu.org> <51F4D8E4.3010907@gmx.at> <8338qyzq55.fsf@gnu.org> <51F61FCC.9090008@gmx.at> <83wqo9xu9g.fsf@gnu.org> <51F69F47.7060201@gmx.at> <83hafdxldu.fsf@gnu.org> <51F@[87.69.4.28]> <834nbcxcx5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375259795 7366 80.91.229.3 (31 Jul 2013 08:36:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Jul 2013 08:36:35 +0000 (UTC) Cc: lekktu@gmail.com, 14841@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 31 10:36:35 2013 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 1V4Rtb-0001rn-B5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Jul 2013 10:36:35 +0200 Original-Received: from localhost ([::1]:44837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4Rta-0001qt-R8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Jul 2013 04:36:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4RtR-0001qf-3S for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2013 04:36:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4RtJ-0002xg-QW for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2013 04:36:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4Rr8-0001sG-Kp for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2013 04:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V4Rr7-0006ig-RY for bug-gnu-emacs@gnu.org; Wed, 31 Jul 2013 04:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jul 2013 08:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14841 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 14841-submit@debbugs.gnu.org id=B14841.137525963525801 (code B ref 14841); Wed, 31 Jul 2013 08:34:01 +0000 Original-Received: (at 14841) by debbugs.gnu.org; 31 Jul 2013 08:33:55 +0000 Original-Received: from localhost ([127.0.0.1]:59936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4Rr0-0006i3-Vn for submit@debbugs.gnu.org; Wed, 31 Jul 2013 04:33:55 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:57647) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4Rqx-0006hn-2c for 14841@debbugs.gnu.org; Wed, 31 Jul 2013 04:33:52 -0400 Original-Received: from [62.47.60.85] ([62.47.60.85]) by mail.gmx.com (mrgmx102) with ESMTPA (Nemesis) id 0MVayZ-1UZLlv2UbX-00YyDT for <14841@debbugs.gnu.org>; Wed, 31 Jul 2013 10:33:44 +0200 In-Reply-To: <834nbcxcx5.fsf@gnu.org> X-Provags-ID: V03:K0:GI9B9JW0edMO/aj7GfMcrjUozwtHOJ4KVfrUr+xI0UxpZ72brCn qidsivblYTYQWQ6AbLqmX5BJCV0iYOHz+684yVLX4RfGeqgyLsj42YvZ8/i8KegZOPoD1fK cWKa63K67QXx3DrzKVcD5cuQQgqj7yDVqp2FoU7clgkCNKqGhJWOOUy8WKrJxX7nNM1D1tH dw35Ov/9KRtDulFhDLZJg== 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:76843 Archived-At: > Sounds like a bug: Emacs previously did the equivalent of the above > when a full-screen frame was requested, but that was changed recently. The patch below fixes it for me. martin === modified file 'src/w32term.c' --- src/w32term.c 2013-07-30 05:56:18 +0000 +++ src/w32term.c 2013-07-31 08:11:24 +0000 @@ -5717,7 +5717,9 @@ w32_fullscreen_rect (hwnd, f->want_fullscreen, FRAME_NORMAL_PLACEMENT (f).rcNormalPosition, &rect); FRAME_PREV_FSMODE (f) = f->want_fullscreen; - if (f->want_fullscreen == FULLSCREEN_BOTH) + if (f->want_fullscreen == FULLSCREEN_MAXIMIZED) + PostMessage (FRAME_W32_WINDOW (f), WM_SYSCOMMAND, 0xf030, 0); + else if (f->want_fullscreen == FULLSCREEN_BOTH) { SetWindowLong (hwnd, GWL_STYLE, dwStyle & ~WS_OVERLAPPEDWINDOW); SetWindowPos (hwnd, HWND_TOP, rect.left, rect.top,