diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2008-12-18 17:45:28 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2008-12-18 17:45:28 +0000 |
commit | 5a130941052568636884b67b430de9005e530ad9 (patch) | |
tree | ad6dd6873adb5aba22a8020ec2f395179cc72dab /src/gtkutil.c | |
parent | f44d8669e16df2011f45b109faffb990a452d458 (diff) | |
download | emacs-5a130941052568636884b67b430de9005e530ad9.tar.gz |
(xg_frame_resized): Remove check if rows/columns have
changed.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r-- | src/gtkutil.c | 11 |
1 files changed, 3 insertions, 8 deletions
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); } } |