[Top][All Lists]

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

Re: MS Windows Frame Maximize in .emacs (again)

From: Lennart Borgman
Subject: Re: MS Windows Frame Maximize in .emacs (again)
Date: Thu, 09 Jun 2005 02:56:24 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

David Abrahams wrote:

I have nothing to add to
except that it's happening for me, too.

Ideas, anyone?

I think the changes below should make maximized frames behave better on w32. They try to prevent changing the size of a frame that is maximized.

This change remove the bug that a maximized frame does not fit the whole screen. It also removes the bug that a maximezed frame can be moved.

At least for me there seems to be no problem now (with these patches) to maximize a frame on startup on w32. (But I do not know if these patches actually affected that.)

Could someone please try them and check them in?

Index: w32fns.c
RCS file: /cvsroot/emacs/emacs/src/w32fns.c,v
retrieving revision 1.246
diff -r1.246 w32fns.c
<               lppos->cx -= wdiff;
<               lppos->cy -= hdiff;
>               //lppos->cx -= wdiff;
>               //lppos->cy -= hdiff;
>                   lppos->cx -= wdiff;
>                   lppos->cy -= hdiff;

C:\emacscvs\emacs\src>cvs diff w32term.c
Index: w32term.c
RCS file: /cvsroot/emacs/emacs/src/w32term.c,v
retrieving revision 1.224
diff -r1.224 w32term.c
>         if (!IsZoomed(hwnd)){
>         }

reply via email to

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