On Thursday 05 August 2010 22:56:26 Bram Moolenaar wrote:
 
> GTK resizing is hacky.  I could never figure out how to do it properly.
> I'm sure that when we try to fix this problem another one will pop up.
 
A simple addition of "gui_mch_update();" before doing the GUI_ENTER autocommand 
seems to fix this particular issue:

--- src/gui.c
+++ src/gui.c
@@ -188,10 +188,11 @@
 #endif
 
 #ifdef FEAT_AUTOCMD
     /* If the GUI started successfully, trigger the GUIEnter event, otherwise
      * the GUIFailed event. */
+    gui_mch_update();
     apply_autocmds(gui.in_use ? EVENT_GUIENTER : EVENT_GUIFAILED,
                                                   NULL, NULL, FALSE, curbuf);
 #endif
 
     --recursive;

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui