emacs-devel
[Top][All Lists]
Advanced

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

Re: set-frame-position problem(?)


From: martin rudalics
Subject: Re: set-frame-position problem(?)
Date: Sat, 12 Jan 2008 10:16:44 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> I'm not sure if there is a bug/problem with set-frame-position
> or if I'm missing something.

Does anything change when you apply the following patch?

*** frame.c.~1.360.~    Wed Oct 31 20:25:32 2007
--- frame.c     Sat Jan  5 20:06:34 2008
***************
*** 4072,4077 ****
--- 4072,4078 ----
       change the frame size.  This is done so that users can create
       tall Emacs frames without having to guess how tall the tool-bar
       will get.  */
+ #if 0
    if (toolbar_p && FRAME_TOOL_BAR_LINES (f))
      {
        int margin, relief, bar_height;
***************
*** 4093,4098 ****
--- 4094,4100 ----
        bar_height = DEFAULT_TOOL_BAR_IMAGE_HEIGHT + 2 * margin + 2 * relief;
        FRAME_LINES (f) += (bar_height + FRAME_LINE_HEIGHT (f) - 1) / 
FRAME_LINE_HEIGHT (f);
      }
+ #endif

    compute_fringe_widths (f, 0);






reply via email to

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