[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change Emacs window size
From: |
Pascal J. Bourguignon |
Subject: |
Re: Change Emacs window size |
Date: |
Fri, 13 Feb 2009 19:16:12 +0100 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin) |
Alexander <coopht@gmail.com> writes:
> Hello.
> I would like to know, how to change emacs' frame (X11 window) size on
> the fly.
> I've discovered function x-send-client-message in emacs, which is used
> to make emacs full screen, but all my tries to make emacs frame a
> little smaller
> or a little larger did not have any result.
> I've tried to do so, but it does not work
> *(defun toggle-fullscreen ()
> (interactive)
> (x-send-client-message nil 0 nil "_NET_MOVERESIZE_WINDOW" 32 '(100
> 100 40 40))
> )*
>
> Can anybody help me?
Have a look at http://darcs.informatimago.com/public/emacs/pjb-emacs.el
function full-frame
You can use set-frame-position set-frame-height and set-frame-width.
--
__Pascal Bourguignon__
- Re: Change Emacs window size,
Pascal J. Bourguignon <=