From 1caf0534f4f3598e09936bee63d2825ce10b1be0 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 3 Aug 2008 20:34:00 +0000 Subject: [PATCH] (windowDidResize): Remove stopModel call. --- src/nsterm.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/nsterm.m b/src/nsterm.m index 61fe21ba389..f8000b96b3d 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -4953,7 +4953,13 @@ if (NS_KEYLOG) NSLog (@"attributedSubstringFromRange request"); x_set_window_size (emacsframe, 0, cols, rows); ns_send_appdefined (-1); + + /* The following line causes a crash on GNUstep. Adrian Roberts + says he doesn't remember why he added this line, but removing it + doesn't seem to cause problems on OSX, either. */ +#if 0 [NSApp stopModal]; +#endif } -- 2.39.2