changeset 100498:b5964e7e169b

(xg_frame_resized): Remove check if rows/columns have changed.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 18 Dec 2008 17:45:12 +0000
parents 53811e0e3b39
children 9c14df93594d
files src/gtkutil.c
diffstat 1 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkutil.c	Thu Dec 18 17:13:22 2008 +0000
+++ b/src/gtkutil.c	Thu Dec 18 17:45:12 2008 +0000
@@ -646,14 +646,9 @@
       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);
     }
 }