• Martin Rudalics's avatar
    Fix frame height calculations with added menu bar on Windows (Bug#22105) · 06f00d39
    Martin Rudalics authored
    * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
    when simultaneously specifying multiple parameters for
    `modify-frame-parameters' that all may change the frame's size.
    * src/w32fns.c (x_set_menu_bar_lines): Don't set
    windows_or_buffers_changed here.
    (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
    with third argument false.
    * src/w32menu.c (set_frame_menubar): Set
    windows_or_buffers_changed here.
    * src/w32term.c (x_set_window_size): Determine third argument of
    AdjustWindowRect from whether the frame has a menu bar and not
    from whether it wants one.
    06f00d39
w32term.c 203 KB