help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maximize frame


From: Richard Riley
Subject: Re: Maximize frame
Date: Thu, 14 May 2009 15:52:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)

pjb@informatimago.com (Pascal J. Bourguignon) writes:

> Decebal <CLDWesterhof@gmail.com> writes:
>
>> On 14 mei, 14:03, Decebal <CLDWester...@gmail.com> wrote:
>>> On 14 mei, 13:39, Michael Heerdegen <ab...@127.0.0.1> 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 <ALT>+<F3> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]