From: Jan Djärv Date: Thu, 18 Dec 2008 17:45:28 +0000 (+0000) Subject: (xg_frame_resized): Remove check if rows/columns have X-Git-Tag: emacs-pretest-23.0.90~1028 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a130941052568636884b67b430de9005e530ad9;p=emacs.git (xg_frame_resized): Remove check if rows/columns have changed. --- diff --git a/src/ChangeLog b/src/ChangeLog index ccda62889f7..ceff2a5305c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-12-18 Jan Djärv + + * gtkutil.c (xg_frame_resized): Remove check if rows/columns have + changed. + 2008-12-18 Dan Nicolaescu * emacs.c (main): Print and error and exit when no data is read diff --git a/src/gtkutil.c b/src/gtkutil.c index ce8308a4eeb..6b615539ffb 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -646,14 +646,9 @@ xg_frame_resized (f, pixelwidth, pixelheight) FRAME_PIXEL_WIDTH (f) = pixelwidth; FRAME_PIXEL_HEIGHT (f) = pixelheight; - if (rows != FRAME_LINES (f) || columns != FRAME_COLS (f) - || (f->new_text_lines != 0 && f->new_text_lines != rows) - || (f->new_text_cols != 0 && f->new_text_cols != columns)) - { - change_frame_size (f, rows, columns, 0, 1, 0); - SET_FRAME_GARBAGED (f); - cancel_mouse_face (f); - } + change_frame_size (f, rows, columns, 0, 1, 0); + SET_FRAME_GARBAGED (f); + cancel_mouse_face (f); } }