mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
NS: Fix frame size when height and font set at startup.
* nsterm.m (x_set_window_size): Call updateFrameSize to get real size instead of using widht/height. The frame may be constrained.
This commit is contained in:
parent
215942da54
commit
c751166609
@ -1,3 +1,8 @@
|
||||
2015-01-06 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (x_set_window_size): Call updateFrameSize to get real
|
||||
size instead of using widht/height. The frame may be constrained.
|
||||
|
||||
2015-01-05 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* lisp.h (XSYMBOL): Parenthesize id in forward decl.
|
||||
|
@ -1404,15 +1404,8 @@ Free a pool and temporary objects it refers to (callable from C)
|
||||
[view setBoundsOrigin: origin];
|
||||
}
|
||||
|
||||
change_frame_size (f, width, height, 0, 1, 0, pixelwise);
|
||||
/* SET_FRAME_GARBAGED (f); // this short-circuits expose call in drawRect */
|
||||
|
||||
mark_window_cursors_off (XWINDOW (f->root_window));
|
||||
cancel_mouse_face (f);
|
||||
|
||||
[view updateFrameSize: NO];
|
||||
unblock_input ();
|
||||
|
||||
do_pending_window_change (0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user