From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: Maximize frame Date: Thu, 14 May 2009 15:52:48 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <2ab96af3-cc32-4d9a-9cb8-460c857f9713@v17g2000vbb.googlegroups.com> <7bf0d295-4836-4242-a370-5340b80511db@s16g2000vbp.googlegroups.com> <7c1vqrc12b.fsf@pbourguignon.anevia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1242312075 8173 80.91.229.12 (14 May 2009 14:41:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2009 14:41:15 +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 16:41:10 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 1M4c7R-0007li-Cd for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 16:41:09 +0200 Original-Received: from localhost ([127.0.0.1]:36821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4c7Q-00048B-QA for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 10:41:08 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!feeder.motzarella.org!news.motzarella.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-X-Trace: news.eternal-september.org U2FsdGVkX19/canKlsrrkDfghzspYBdq5VbC+wD9S4nyYf51lMhvuBYRhew0KWjlE9a5xq+rUlT0sjX8cle40no5l2AvSRIi8BpZL5VfvKLXcfBhbRWcViBLd74UzNAB1su8kbezNYygRVQVIDOfYw== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Thu, 14 May 2009 13:52:48 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19SwVw1azHOWQN7yE8RVZq+6wZnibhthaiCJ4hQ9oayWg== Cancel-Lock: sha1:GxCm0O9Yo4dT4v7JSesqT+mHUvU= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:169167 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:64429 Archived-At: pjb@informatimago.com (Pascal J. Bourguignon) writes: > Decebal writes: > >> On 14 mei, 14:03, Decebal wrote: >>> On 14 mei, 13:39, Michael Heerdegen wrote: >>> >>> > Onhttp://ubuntuforums.org/showthread.php?t=782196Ifound: >>> >>> > (defun toggle-fullscreen ()                                     >>> >   (interactive)                                                 >>> >   (x-send-client-message nil 0 nil "_NET_WM_STATE" 32           >>> >                          '(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0)) >>> >   (x-send-client-message nil 0 nil "_NET_WM_STATE" 32           >>> >                          '(2 "_NET_WM_STATE_MAXIMIZED_HORZ" 0)) >>> >   ) >>> >>> 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. ;-} ) > > An alternative solution would be to use ratpoison or clumpwm. wmctrl is an option.