Fix issues related to pixelwise resizing. (Bug#16013) (Bug#16033)
authorMartin Rudalics <rudalics@gmx.at>
Tue, 3 Dec 2013 07:45:54 +0000 (08:45 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 3 Dec 2013 07:45:54 +0000 (08:45 +0100)
commit7303a0aefc1fbabfea1b6b7711a6da2289aecdb2
tree3d00b2cab57dac461a9810a9a77f7bdeefd4fbf1
parent39fa32d6359c8292dd91ce1c58da1aa3f8668bd8
Fix issues related to pixelwise resizing.  (Bug#16013) (Bug#16033)

* window.c (Fset_window_new_pixel): Don't choke at negative
argument value (Bug#16033).

* xfns.c (Fx_create_frame): Add another call to change_frame_size
to avoid crash in window_box_height.

* gtkutil.h: Fix external declaration of xg_frame_set_char_size.
* gtkutil.c (xg_frame_set_char_size, style_changed_cb): Fix size
calculation.
* xterm.c (x_set_window_size): Fix size calculation (Bug#16013).
src/ChangeLog
src/gtkutil.c
src/gtkutil.h
src/window.c
src/xfns.c
src/xterm.c