emacs-devel
[Top][All Lists]
Advanced

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

Re: strange geometry behaviour


From: Jan D.
Subject: Re: strange geometry behaviour
Date: Fri, 18 Jan 2002 23:41:19 +0100 (CET)

> 
> Testing the current CVS, I get a strange geometry behaviour on the
> initial frame (running under fvwm2 on X Window System).
> 
> I have the following in my .emacs file:
> 
>   (setq default-frame-alist
>           '((width . 80) (height . 29)
>             (left . 10) (top . 30)
>             (vertical-scroll-bars . right)
>             (font . "fontset-24")))
> 
> Until recently, this worked fine, but now I get a 122x60 initial
> frame!
> 

Does this patch work?


*** src/xfns.c.~1.535.~ Fri Jan 18 22:50:45 2002
--- src/xfns.c  Fri Jan 18 23:37:51 2002
***************
*** 1034,1040 ****
        XSETINT (icon_top, 0);
      }
  
!   if (FRAME_VISIBLE_P (f))
      {
        /* If the frame is visible already and the fullscreen parameter is
           being set, it is too late to set WM manager hints to specify
--- 1034,1041 ----
        XSETINT (icon_top, 0);
      }
  
!   if (FRAME_VISIBLE_P (f)
!       && f->output_data.x->want_fullscreen != FULLSCREEN_NONE)
      {
        /* If the frame is visible already and the fullscreen parameter is
           being set, it is too late to set WM manager hints to specify


        Jan D.




reply via email to

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