From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Decebal Newsgroups: gmane.emacs.help Subject: Re: Maximize frame Date: Thu, 14 May 2009 05:14:38 -0700 (PDT) Organization: http://groups.google.com Message-ID: <7bf0d295-4836-4242-a370-5340b80511db@s16g2000vbp.googlegroups.com> References: <2ab96af3-cc32-4d9a-9cb8-460c857f9713@v17g2000vbb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1242305458 16769 80.91.229.12 (14 May 2009 12:50:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2009 12:50:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 14 14:50:49 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M4aOe-0003Ut-Ev for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 14:50:48 +0200 Original-Received: from localhost ([127.0.0.1]:38564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4aOd-0000ep-RC for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 08:50:47 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s16g2000vbp.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 84.53.123.169 Original-X-Trace: posting.google.com 1242303278 28243 127.0.0.1 (14 May 2009 12:14:38 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 14 May 2009 12:14:38 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s16g2000vbp.googlegroups.com; posting-host=84.53.123.169; posting-account=K-cdeAoAAAD_0d505kUtHXJaT5LFIu-3 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.9.0.9) Gecko/2009040820 Firefox/3.0.9,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:169162 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64424 Archived-At: On 14 mei, 14:03, Decebal wrote: > On 14 mei, 13:39, Michael Heerdegen wrote: > > > Onhttp://ubuntuforums.org/showthread.php?t=3D782196Ifound: > > > (defun toggle-fullscreen () =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 > > =A0 (interactive) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > > =A0 (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 =A0 =A0 =A0 =A0= =A0 > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'(2 "_NET_WM_STATE_M= AXIMIZED_VERT" 0)) > > =A0 (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 =A0 =A0 =A0 =A0= =A0 > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0'(2 "_NET_WM_STATE_M= AXIMIZED_HORZ" 0)) > > =A0 ) > > I tried that and it did not work. But now it works, so I think I made > an input mistake when I tried that. There is one little problem with the toggle fullscreen. If for example vert is allready maximized and horz not, I would like vert untouched and horz maximized. Is this possible, or am I asking to much? (This will not happen often and then I could use + followed by x, but I like to get rid of loose ends. ;-} )