Fix frame height calculations with added menu bar on Windows (Bug#22105)
commit06f00d39ff73e0c6c87ffb09ef3d67e8d3446b01
authorMartin Rudalics <rudalics@gmx.at>
Sat, 12 Dec 2015 13:38:11 +0000 (12 14:38 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 12 Dec 2015 13:38:11 +0000 (12 14:38 +0100)
tree0ae87786918b3e085bff1171532f5bd222225eb8
parent4b0e4213740ef32938063e1dd79f8462112ca33c
Fix frame height calculations with added menu bar on Windows (Bug#22105)

* 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.
doc/lispref/frames.texi
src/w32fns.c
src/w32menu.c
src/w32term.c