[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maximize frame
From: |
Pascal J. Bourguignon |
Subject: |
Re: Maximize frame |
Date: |
Thu, 14 May 2009 14:37:48 +0200 |
User-agent: |
Gnus/5.101 (Gnus v5.10.10) Emacs/22.2 (gnu/linux) |
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.
--
__Pascal Bourguignon__
- Re: Maximize frame, (continued)
Re: Maximize frame, Michael Heerdegen, 2009/05/14