Commit 0b3b1d23 authored by Jan Djärv's avatar Jan Djärv

* nsterm.m (updateFrameSize): Call setFrame: on the view when size

changes.

Fixes: debbugs:12088
parent e6aca219
2012-09-08 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (updateFrameSize): Call setFrame: on the view when size
changes (Bug#12088).
2012-09-08 Chong Yidong <cyd@gnu.org>
* syntax.c (Fstring_to_syntax): Doc fix.
......
......@@ -5374,11 +5374,13 @@ - (void) updateFrameSize
if (oldr != rows || oldc != cols || neww != oldw || newh != oldh)
{
NSView *view = FRAME_NS_VIEW (emacsframe);
FRAME_PIXEL_WIDTH (emacsframe) = neww;
FRAME_PIXEL_HEIGHT (emacsframe) = newh;
change_frame_size (emacsframe, rows, cols, 0, 0, 1);
SET_FRAME_GARBAGED (emacsframe);
cancel_mouse_face (emacsframe);
[view setFrame: NSMakeRect (0, 0, neww, newh)];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment