To: vim-dev@vim.org Subject: Patch 6.1a.011 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1a.011 Problem: GTK: ":set co=77", change width with the mouse, ":set co=77" doesn't resize the window. (Darren Hiebert) Solution: Set the form size after handling a resize event. Files: src/gui_gtk_x11.c *** ../vim61a.010/src/gui_gtk_x11.c Thu Feb 21 21:11:54 2002 --- src/gui_gtk_x11.c Thu Feb 28 15:39:21 2002 *************** *** 2076,2081 **** --- 2076,2084 ---- gui_resize_shell(event->width, event->height); gtk_form_thaw(GTK_FORM(gui.formwin)); + /* because of the freeze the form still needs to get the new size */ + gtk_form_set_size(GTK_FORM(gui.formwin), event->width, event->height); + return TRUE; } *** ../vim61a.010/src/version.c Wed Feb 27 20:28:27 2002 --- src/version.c Thu Feb 28 15:40:20 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 11, /**/ -- hundred-and-one symptoms of being an internet addict: 88. Every single time you press the 'Get mail' button...it does get new mail. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///