[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maximize frame
From: |
Decebal |
Subject: |
Re: Maximize frame |
Date: |
Thu, 14 May 2009 06:20:14 -0700 (PDT) |
User-agent: |
G2/1.0 |
On 14 mei, 14:14, Decebal <CLDWester...@gmail.com> 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. ;-} )
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?
- Re: Maximize frame, (continued)
Re: Maximize frame, Michael Heerdegen, 2009/05/14