Commit 5a130941 authored by Jan Djärv's avatar Jan Djärv

(xg_frame_resized): Remove check if rows/columns have

changed.
parent f44d8669
2008-12-18 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_frame_resized): Remove check if rows/columns have
changed.
2008-12-18 Dan Nicolaescu <dann@ics.uci.edu> 2008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
* emacs.c (main): Print and error and exit when no data is read * emacs.c (main): Print and error and exit when no data is read
......
...@@ -646,14 +646,9 @@ xg_frame_resized (f, pixelwidth, pixelheight) ...@@ -646,14 +646,9 @@ xg_frame_resized (f, pixelwidth, pixelheight)
FRAME_PIXEL_WIDTH (f) = pixelwidth; FRAME_PIXEL_WIDTH (f) = pixelwidth;
FRAME_PIXEL_HEIGHT (f) = pixelheight; FRAME_PIXEL_HEIGHT (f) = pixelheight;
if (rows != FRAME_LINES (f) || columns != FRAME_COLS (f) change_frame_size (f, rows, columns, 0, 1, 0);
|| (f->new_text_lines != 0 && f->new_text_lines != rows) SET_FRAME_GARBAGED (f);
|| (f->new_text_cols != 0 && f->new_text_cols != columns)) cancel_mouse_face (f);
{
change_frame_size (f, rows, columns, 0, 1, 0);
SET_FRAME_GARBAGED (f);
cancel_mouse_face (f);
}
} }
} }
......
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