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 06:20:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6616e927-7c60-417c-89b6-c22789b5d14a@u10g2000vbd.googlegroups.com> References: <2ab96af3-cc32-4d9a-9cb8-460c857f9713@v17g2000vbb.googlegroups.com> <7bf0d295-4836-4242-a370-5340b80511db@s16g2000vbp.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 1242308461 27236 80.91.229.12 (14 May 2009 13:41:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2009 13:41:01 +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 15:40:51 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 1M4bB5-0003jB-EB for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 15:40:51 +0200 Original-Received: from localhost ([127.0.0.1]:58291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4bB4-0002W7-GJ for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 09:40:50 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!u10g2000vbd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 84.53.123.169 Original-X-Trace: posting.google.com 1242307214 8141 127.0.0.1 (14 May 2009 13:20:14 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 14 May 2009 13:20:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u10g2000vbd.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:169165 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:64428 Archived-At: On 14 mei, 14:14, Decebal 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= _MAXIMIZED_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= _MAXIMIZED_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. ;-} ) There is another little problem. I put (toggle-fullscreen) into my .emacs. And the frame is maximized. But later on it is made a little smaller again. What could be happening here?