From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Feng Newsgroups: gmane.emacs.devel Subject: Re: Creating a "borderless" frame (without WM chrome) (was Re: Could x-show-tip be reimplemented in Elisp? How does one create borderless frames from Elisp?) Date: Wed, 17 Feb 2016 06:41:59 +0800 Message-ID: References: <56BDF3DE.2050704@gmail.com> <56BEA48F.9020400@gmail.com> <56C382C7.8080306@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e010d86106702c9052bead73c X-Trace: ger.gmane.org 1455662546 32656 80.91.229.3 (16 Feb 2016 22:42:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2016 22:42:26 +0000 (UTC) Cc: emacs-devel To: =?UTF-8?B?Q2zDqW1lbnQgUGl0LS1DbGF1ZGVs?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 16 23:42:26 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aVoK8-0002BJ-Iu for ged-emacs-devel@m.gmane.org; Tue, 16 Feb 2016 23:42:24 +0100 Original-Received: from localhost ([::1]:51436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVoK4-0007GK-Em for ged-emacs-devel@m.gmane.org; Tue, 16 Feb 2016 17:42:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVoJl-0007GC-PO for emacs-devel@gnu.org; Tue, 16 Feb 2016 17:42:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVoJk-0001Op-V6 for emacs-devel@gnu.org; Tue, 16 Feb 2016 17:42:01 -0500 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:34407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVoJk-0001OF-Mq for emacs-devel@gnu.org; Tue, 16 Feb 2016 17:42:00 -0500 Original-Received: by mail-wm0-x229.google.com with SMTP id b205so131028823wmb.1 for ; Tue, 16 Feb 2016 14:42:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+8rSZlxeOcL3lMevzpK8JOL8fAg/44G47KJNsSm5daM=; b=bAfPqOsoTidgHMuY7U1NVLm8qif12cx0fNf1sJEIXQSX2jVV1DaETw3pUJlyf4ZlgX wHIwpvR9pFZRq9UWsqZVuSiQA2BBitHlth4tBGHx9ECY8l6S1V9Ip3O4Zf8437EkU8QH VqY8oGFqPnNvc9s8+akYlVoLnm1gFtXCX0Go9S/YlPFe0SSaCwVtWZ7EEHQYGH3pL+7S qqT1pct/Czj4IK9nd4NKDuHPxAWA9M1W/jLUjbIB2FLdkAC9OQ9MR7l4E1uj76Iy6Kfn dNeCkp+WRv+OZQHgtn2FaPjpDtTfZBTg2nVEvc8AhJ9/K2XnZqMywDyuo2LMfF/+SWfT 3CGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=+8rSZlxeOcL3lMevzpK8JOL8fAg/44G47KJNsSm5daM=; b=CKjnYdEyFuMVy4mp/9IBSzfmahV7ntoEqFpxyi3zn9299VpcXuQLZEeY6ET4diySfB BrUdRNNFpEaXafAb1vIxf6KVli8gT/NLLeAkmrjWyi835BkZuwaRd0Gevg67p2fuiUxa /tI4IPOg/2Tw/RuN+iTzQDVEXPnu6m0qfpJsR2Mnu5h8wqfC7I+B0XwnNAM1/L/25jr8 U1SnAQRrYMJuoF18iGPn8iuK9lpSCObGdwriLCf5VEOKnJhbXLo+wDyEZKkG/KlGB61A FQTvhPmiq8z5v4Uqy0ICouZc1PbETONQiHlSN4IUDbbq/jsJHR8Ug9ef6xk4mXD9jjDC Bliw== X-Gm-Message-State: AG10YOSzhWwDV4Hpn4yDYw9kQ+OmzoGuCvqdfuCV3LV3iQnvd0saNc57goBU+5aZQpZ202aLNpWumRbROQ3/NA== X-Received: by 10.194.103.72 with SMTP id fu8mr5557423wjb.70.1455662519745; Tue, 16 Feb 2016 14:41:59 -0800 (PST) Original-Received: by 10.194.190.104 with HTTP; Tue, 16 Feb 2016 14:41:59 -0800 (PST) Original-Received: by 10.194.190.104 with HTTP; Tue, 16 Feb 2016 14:41:59 -0800 (PST) In-Reply-To: <56C382C7.8080306@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200060 Archived-At: --089e010d86106702c9052bead73c Content-Type: text/plain; charset=UTF-8 > Scaling back on the original intent, then, could we expose to Lisp a way to create a chrome-less frame, presumably in just the same way as the tooltip code does it? Something like `remove_frame_chrome(frame *f)`, which one would call before making a frame visible. This will definitely work on X. Basically an X window manager takes over a window when it gets mapped (becomes visible). But I'm not sure if the procedure is necessary on other platforms. I think it'd be better if we can control this directly by feeding `make-frame' a new frame parameter. --089e010d86106702c9052bead73c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> Scaling back on the original intent, then, could we exp= ose to Lisp a way to create a chrome-less frame, presumably in just the sam= e way as the tooltip code does it? Something like `remove_frame_chrome(fram= e *f)`, which one would call before making a frame visible.

This will definitely work on X.=C2=A0 Basically an X window = manager takes over a window when it gets mapped (becomes visible).=C2=A0 Bu= t I'm not sure if the procedure is necessary on other platforms.

I think it'd be better if we can control this directly b= y feeding `make-frame' a new frame parameter.

--089e010d86106702c9052bead73c--