From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#25408: Remove Decorations Around Emacs Frame (Windows OS) Date: Wed, 12 Apr 2017 18:38:58 +0100 Message-ID: <20170412173858.GB82486@breton.holly.idiocy.org> References: <831swaepnc.fsf@gnu.org> <5875EF34.20507@gmx.at> <9efbe1e3-e8aa-f056-bc5c-5a41f10b6d42@gmail.com> <58996EED.6030601@gmx.at> <3d34793f-4b7c-d4ea-74ec-49ce84214cc8@gmail.com> <589F1F58.1050807@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1492018811 16008 195.159.176.226 (12 Apr 2017 17:40:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2017 17:40:11 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: Arthur Miller , 25408@debbugs.gnu.org, =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 12 19:40:07 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 1cyMFS-00043k-Ep for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Apr 2017 19:40:06 +0200 Original-Received: from localhost ([::1]:45584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyMFY-0002wR-G7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Apr 2017 13:40:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyMFR-0002ub-Rr for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 13:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyMFO-0003Yz-3M for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 13:40:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46515) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyMFN-0003Yg-Vt for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 13:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cyMFN-0007rc-NK for bug-gnu-emacs@gnu.org; Wed, 12 Apr 2017 13:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Apr 2017 17:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25408 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25408-submit@debbugs.gnu.org id=B25408.149201874930164 (code B ref 25408); Wed, 12 Apr 2017 17:40:01 +0000 Original-Received: (at 25408) by debbugs.gnu.org; 12 Apr 2017 17:39:09 +0000 Original-Received: from localhost ([127.0.0.1]:44714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyMEX-0007qS-Iq for submit@debbugs.gnu.org; Wed, 12 Apr 2017 13:39:09 -0400 Original-Received: from mail-wr0-f179.google.com ([209.85.128.179]:36034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyMEV-0007qE-UZ for 25408@debbugs.gnu.org; Wed, 12 Apr 2017 13:39:08 -0400 Original-Received: by mail-wr0-f179.google.com with SMTP id c55so22024818wrc.3 for <25408@debbugs.gnu.org>; Wed, 12 Apr 2017 10:39:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=7h+WFCWECgbOCyrpbVL4QWXrRGoxAEJQbEhgNfPq1bI=; b=LF2wLT5FvUxgKICEIPZyWM9aRQi3S0oZRzeJJ8Orpa4cxyMevMvT1qZOssGM+70rgm DaeOjCPAoRwpdhJZ8+J/rYGeq0wH22hXKK55t8pQXHN1qKNZHoHTIjKkOWV9i7wO75bH PNf+pqCg8VPAoZLmbauO9sos9uKwPitqQQ0cOUzNuuYpVkRW5ULAlVT6N7QsNHbMHfR/ r0llAG5Ns1pVwQVZ830rNKnKNzJdm2SlvY1YMKurLmY2C2CA0I/miP2DsH4fHcq1tAQ2 mmejpej6arZ459dGVinmAYaRM/LLk7IvWWN8xZPTw3UjmasAJIpb5//pFRdq/QLCGDwk SfIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=7h+WFCWECgbOCyrpbVL4QWXrRGoxAEJQbEhgNfPq1bI=; b=a3rmCjnsmWn0z6E7xzEKg2ad/gMVtRV92uW1QJVA86TGraeIIZGfPtCz76XvXIeoK5 zfmuNn9h45g80EXkwSMwLUOPlhOSkCefoyB8Z5WQays9Sr5/qSKeLeZjsehMGFhqd88g rZ1D8dojTUbuJtDG+ZRjGPBw8Zs/5iw1V7CMfMcNVScUbOfvJGgZmRB7tSN6uOH1KCYa yEbmjTpB6FyuntWvUVSwxJonwyo9PYHpstP/GAGxcD7x/Qcm71Qgvp+HfKXlcx8nfwiQ lO8SsJry3rdbox8Umurn+WdvS6r6udKMzBkHCWbaql27xA2bGDpSlFXdUOIQYAvZu25q 9a3g== X-Gm-Message-State: AN3rC/7IYVwz6bRP6NEfJAiD0umprwQbmN0P3sAgr4Ye41KFyrvmpPUAA9vArccAnsrypA== X-Received: by 10.223.166.9 with SMTP id k9mr4163756wrc.177.1492018742039; Wed, 12 Apr 2017 10:39:02 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-4908-57d9-2f60-ab16.holly.idiocy.org. [2001:8b0:3f8:8129:4908:57d9:2f60:ab16]) by smtp.gmail.com with ESMTPSA id 198sm7399752wmn.30.2017.04.12.10.39.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Apr 2017 10:39:00 -0700 (PDT) Content-Disposition: inline In-Reply-To: <589F1F58.1050807@gmx.at> 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:131512 Archived-At: On Sat, Feb 11, 2017 at 03:27:36PM +0100, martin rudalics wrote: > > To remove a frame's decorations, use the frame parameter `undecorated' > as in > > (set-frame-parameter nil 'undecorated t) > > To give that frame back its decorations use > > (set-frame-parameter nil 'undecorated nil) > > To make a new frame undecorated use > > (make-frame '((undecorated . t))) Hi Martin, this is really good. I’ve got this semi‐working in the NS port, but I have a strange problem, and I want to check it’s not intentional. Should an undecorated frame be resizable? ie. if you run something like (set-frame-size nil 20 20) would you expect the frame to resize? Mine currently resizes if the frame was created with decorations and they were removed, but not if it was created without them. I suspect creating it without decorations is breaking some NS → Emacs event path. Thanks! -- Alan Third