(EmacsFrameResize): We may be called from an interrupt,
authorRichard M. Stallman <rms@gnu.org>
Thu, 28 Mar 1996 19:56:02 +0000 (19:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 28 Mar 1996 19:56:02 +0000 (19:56 +0000)
so delay the resize operation.

src/widget.c

index 650dd58..23c5729 100644 (file)
@@ -781,7 +781,7 @@ EmacsFrameResize (widget)
   int rows;
 
   pixel_to_char_size (ew, ew->core.width, ew->core.height, &columns, &rows);
-  change_frame_size (f, rows, columns, 1, 0);
+  change_frame_size (f, rows, columns, 0, 1);
   update_wm_hints (ew); 
   update_various_frame_slots (ew);
 }