Some more tinkering with Bug#16051.
authorMartin Rudalics <rudalics@gmx.at>
Thu, 26 Dec 2013 11:31:42 +0000 (12:31 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 26 Dec 2013 11:31:42 +0000 (12:31 +0100)
commit0cbab19e6e5147fda4c89dcadd2826a35857b5ce
treea76904f11f07268a412df3037e8f677213e7baae
parente76119d7542b19eb03f8d725480cbf98f7fa03d9
Some more tinkering with Bug#16051.

* window.c (resize_frame_windows): Don't let the size of the
root window drop below the frame's default character size.
Never ever delete any subwindows - let the window manager do the
clipping.

* w32fns.c (x_set_tool_bar_lines): Rewrite calculation of number
of toolbar lines needed when they exceed the height of the root
window.
(unwind_create_frame_1): New function.
(Fx_create_frame): Generally inhibit calling the window
configuration change hook here.  Remove extra call to
change_frame_size - it's not needed when we don't run the
configuration change hook.
src/ChangeLog
src/w32fns.c
src/window.c