diff options
author | Jan D <jan.h.d@swipnet.se> | 2015-01-06 20:30:39 +0100 |
---|---|---|
committer | Jan D <jan.h.d@swipnet.se> | 2015-01-06 20:30:39 +0100 |
commit | c7511666094a87021e0f3685657bfc9e380d67a7 (patch) | |
tree | ddb07417bf0fec9c93c6a0c473ad941085e69ea3 /src/nsterm.m | |
parent | 215942da54990e097f838cd8bdb7d7164a6e3463 (diff) | |
download | emacs-c7511666094a87021e0f3685657bfc9e380d67a7.tar.gz |
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.
Diffstat (limited to 'src/nsterm.m')
-rw-r--r-- | src/nsterm.m | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 2ccb7fe0c60..bf3192bf432 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -1404,15 +1404,8 @@ x_set_window_size (struct frame *f, [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); } |