Fix frame sizing for Lucid/Motif/Lesstif.
authorJan D <jan.h.d@swipnet.se>
Fri, 9 Jul 2010 16:39:51 +0000 (18:39 +0200)
committerJan D <jan.h.d@swipnet.se>
Fri, 9 Jul 2010 16:39:51 +0000 (18:39 +0200)
commit723f5a070c9ef28ba93b406aa95122dfe8872fb6
tree05fa9ee299fbe35850f820f4c8027dec4bb34a76
parent2536a4b7d8b7e662db3d54a9eb8fae63ceebfc14
Fix frame sizing for Lucid/Motif/Lesstif.

* xfns.c (x_window): Set borderWidth to 0 for pane and
EmacsFrame.  Frame size calculation is wrong otherwise.

* xmenu.c (set_frame_menubar): Must realize menubar_widget to get the
correct size for Motif.
(free_frame_menubar): Call x_set_window_size to update frame size.
src/ChangeLog
src/xfns.c
src/xmenu.c