From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: fullscreen and gnome Date: Thu, 14 Dec 2006 15:32:23 +0100 Message-ID: <45816077.9070305@swipnet.se> References: <4580F94A.4050704@swipnet.se> <45814903.1050805@swipnet.se> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1166106811 27445 80.91.229.10 (14 Dec 2006 14:33:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2006 14:33:31 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 14 15:33:29 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GureI-0004gt-Ea for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2006 15:33:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GureH-00074k-Sw for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2006 09:33:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gure0-000704-4P for emacs-devel@gnu.org; Thu, 14 Dec 2006 09:33:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gurdx-0006uo-CJ for emacs-devel@gnu.org; Thu, 14 Dec 2006 09:33:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gurdx-0006uT-4B for emacs-devel@gnu.org; Thu, 14 Dec 2006 09:33:05 -0500 Original-Received: from [81.228.9.183] (helo=av8-1-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gurdw-0008Ug-Hc for emacs-devel@gnu.org; Thu, 14 Dec 2006 09:33:04 -0500 Original-Received: by av8-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 9E3C838777; Thu, 14 Dec 2006 15:33:03 +0100 (CET) Original-Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av8-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 79FBD380F9; Thu, 14 Dec 2006 15:33:03 +0100 (CET) Original-Received: from husetbladh.homeip.net (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 5859237E4A; Thu, 14 Dec 2006 15:33:03 +0100 (CET) User-Agent: Thunderbird 1.5.0.8 (X11/20061107) Original-To: Patrick Drechsler In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63719 Archived-At: Patrick Drechsler skrev: > Jan Dj=E4rv wrote: >> Patrick Drechsler skrev: >>> Jan Dj=E4rv wrote: >>>> It does not, this is all the window manager doing stuff, in fact=20 >>>> Emacs just tells the window manager, "make me fullscreen" and then=20 >>>> the window manager does what it like. >>> >>> Fair enough. Is there a proposed way of accomplishing the=20 >>> semi-fullscreen effect I am after? >> >> Does not clicking on the window manager maximize button in the title=20 >> bar do that? >=20 > Yes, of course. I thought that there might be an option which I could=20 > pass to Emacs. I'll use the --geometry option instead. >=20 If it is just metacity, I think this will do what you want (at least it d= oes=20 on the version of metacity with FC5): (progn (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 '(1 "_NET_WM_STATE_MAXIMIZED_HORZ")) (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 '(1 "_NET_WM_STATE_MAXIMIZED_VERT"))) It can be put in .emacs for example. Note that other window managers may do something different. Jan D.