Fix a bug in and rewrite resize_frame_windows.
commitf2e7e9af1e1f24763e1b2b74efdc79b0aa276c22
authorMartin Rudalics <rudalics@gmx.at>
Thu, 11 Nov 2010 18:13:43 +0000 (11 19:13 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 11 Nov 2010 18:13:43 +0000 (11 19:13 +0100)
tree1665f0d984b5a9c17bc18b7cdc975fd78f0019f4
parent646d9d63ac09dafdb1dee6fd69a7c4f4ae36fb02
Fix a bug in and rewrite resize_frame_windows.

* window.c (syms_of_window): Add Qsafe and intern it.
(resize_frame_windows): Check whether the actual new size of the
root window matches the requested size.  Also try one more round
with safe minimum sizes.  Simplify code.
src/ChangeLog
src/window.c