Mercurial > vim
comparison src/gui.c @ 62:4a6de0783bb5
updated for version 7.0030
author | vimboss |
---|---|
date | Tue, 04 Jan 2005 21:19:20 +0000 |
parents | c75153d791d0 |
children | 014ba200db86 |
comparison
equal
deleted
inserted
replaced
61:9e4064826a20 | 62:4a6de0783bb5 |
---|---|
1216 } | 1216 } |
1217 | 1217 |
1218 again: | 1218 again: |
1219 busy = TRUE; | 1219 busy = TRUE; |
1220 | 1220 |
1221 #ifdef FEAT_GUI_BEOS | |
1222 vim_lock_screen(); | |
1223 #endif | |
1224 | |
1225 /* Flush pending output before redrawing */ | 1221 /* Flush pending output before redrawing */ |
1226 out_flush(); | 1222 out_flush(); |
1227 | 1223 |
1228 gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width; | 1224 gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width; |
1229 gui.num_rows = (pixel_height - gui_get_base_height() | 1225 gui.num_rows = (pixel_height - gui_get_base_height() |
1245 /* Only comparing Rows and Columns may be sufficient, but let's stay on | 1241 /* Only comparing Rows and Columns may be sufficient, but let's stay on |
1246 * the safe side. */ | 1242 * the safe side. */ |
1247 if (gui.num_rows != screen_Rows || gui.num_cols != screen_Columns | 1243 if (gui.num_rows != screen_Rows || gui.num_cols != screen_Columns |
1248 || gui.num_rows != Rows || gui.num_cols != Columns) | 1244 || gui.num_rows != Rows || gui.num_cols != Columns) |
1249 shell_resized(); | 1245 shell_resized(); |
1250 | |
1251 #ifdef FEAT_GUI_BEOS | |
1252 vim_unlock_screen(); | |
1253 #endif | |
1254 | 1246 |
1255 gui_update_scrollbars(TRUE); | 1247 gui_update_scrollbars(TRUE); |
1256 gui_update_cursor(FALSE, TRUE); | 1248 gui_update_cursor(FALSE, TRUE); |
1257 #if defined(FEAT_XIM) && !defined(HAVE_GTK2) | 1249 #if defined(FEAT_XIM) && !defined(HAVE_GTK2) |
1258 xim_set_status_area(); | 1250 xim_set_status_area(); |