From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Patrick Drechsler Newsgroups: gmane.emacs.devel Subject: Re: fullscreen and gnome Date: Wed, 20 Dec 2006 20:50:58 +0100 Message-ID: References: <4580F94A.4050704@swipnet.se> <45814903.1050805@swipnet.se> <45816077.9070305@swipnet.se> <45830965.8060208@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 1166644316 17034 80.91.229.10 (20 Dec 2006 19:51:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 19:51:56 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 20:51:52 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 1Gx7Td-00058E-4a for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 20:51:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx7Tc-00026L-OP for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 14:51:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gx7TP-00025J-Nr for emacs-devel@gnu.org; Wed, 20 Dec 2006 14:51:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gx7TO-00024j-3d for emacs-devel@gnu.org; Wed, 20 Dec 2006 14:51:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gx7TN-00024g-V6 for emacs-devel@gnu.org; Wed, 20 Dec 2006 14:51:29 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gx7TN-0001ny-Bk for emacs-devel@gnu.org; Wed, 20 Dec 2006 14:51:29 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gx7T4-000686-0X for emacs-devel@gnu.org; Wed, 20 Dec 2006 20:51:10 +0100 Original-Received: from dslb-084-057-093-129.pools.arcor-ip.net ([84.57.93.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Dec 2006 20:51:09 +0100 Original-Received: from patrick by dslb-084-057-093-129.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Dec 2006 20:51:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-057-093-129.pools.arcor-ip.net User-Agent: Thunderbird 1.5.0.8 (X11/20061117) In-Reply-To: <45830965.8060208@swipnet.se> 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:64023 Archived-At: Jan Dj=E4rv wrote: > James Cloos skrev: >>>>>>> "Patrick" =3D=3D Patrick Drechsler writes= : >> Patrick> Thank you Jan, your example code works fine. But as mentioned= >> Patrick> in my original post I was looking for a solution which is >> Patrick> independent of the window manager/OS in use. I guess I'll >> Patrick> just stick with the --geometry parameter. >> >> The technique Jan used for maximizing is the same as the technique >> that the -fs flag uses to do full screen. Both just set the window >> manager hints for the specified display options. >> >> The _NET_WM_STATE hints are standardized. All modern window managers >> should use them. >> >> As such, they should be supported by everthing that you use. >> >> You can run this on each platform to confirm: >> >> :; xlsatoms |egrep _NET_WM >> >> And you can use xprop to see the settings for any given window. As an= >> example, I get this for the emacs frame I'm writing this in: [...] >> I'd expect that you will find that Jan's solution will Just Work. >=20 > Well, there are always the old WM:s that don't support _NET_*. Thanks Jan and James (and sorry for the late reply) for your feedback.=20 The code you posted actually works fine. Opposed to the subject I was=20 subliminally hoping for a solution which would also work using Windows.=20 I can see that this is not accomplished that easily. But one mouse click = to maximize isn't that difficult either ;-) Thanks again for your help, Patrick