Hello community, here is the log from the commit of package vim checked in at Sat May 31 12:14:35 CEST 2008. -------- --- vim/vim.changes 2008-04-30 17:35:26.000000000 +0200 +++ /mounts/work_src_done/STABLE/vim/vim.changes 2008-05-28 13:34:40.162995000 +0200 @@ -1,0 +2,7 @@ +Wed May 28 13:40:09 CEST 2008 - rodrigo@suse.de + +- Added vim-7.1-remove-terrible-hack.patch to remove a "terrible" + hack that was moving the mouse 100 pixels to the top left for + KDE 3.1 window manager (bnc#392061) + +------------------------------------------------------------------- New: ---- vim-7.1-remove-terrible-hack.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vim.spec ++++++ --- /var/tmp/diff_new_pack.Ar8368/_old 2008-05-31 12:14:23.000000000 +0200 +++ /var/tmp/diff_new_pack.Ar8368/_new 2008-05-31 12:14:23.000000000 +0200 @@ -13,7 +13,7 @@ Name: vim Version: 7.1 -Release: 115 +Release: 125 # License: Other uncritical OpenSource License; http://vimdoc.sourceforge.net/htmldoc/uganda.html#license Group: Productivity/Editors/Vi @@ -86,6 +86,7 @@ Patch19: vim-7.1-diff_check.patch Patch20: vim-7.1-netrw_urlencode.patch Patch21: vim-7.1-filetype_changes.patch +Patch22: vim-7.1-remove-terrible-hack.patch # tbd??? %name-6.3-ga-utf8.diff # tbd??? %name-6.3-initvals.diff # tbd??? vim64-svn-crash.patch @@ -294,6 +295,7 @@ %patch19 -p1 %patch20 -p1 %patch21 -p1 +%patch22 cp %{S:3} %{S:4} %{S:5} %{S:6} %{S:8} %{S:9} %{S:10} . rename no nb $RPM_BUILD_DIR/vim*/src/po/no.* rename menu_no menu_nb $RPM_BUILD_DIR/vim*/runtime/lang/menu_no* @@ -656,6 +658,10 @@ %endif %changelog +* Wed May 28 2008 rodrigo@suse.de +- Added vim-7.1-remove-terrible-hack.patch to remove a "terrible" + hack that was moving the mouse 100 pixels to the top left for + KDE 3.1 window manager (bnc#392061) * Wed Apr 30 2008 mkoenig@suse.de - use Utility as primary category for the desktop file [bnc#382779] * Wed Mar 12 2008 mkoenig@suse.de ++++++ vim-7.1-remove-terrible-hack.patch ++++++ Index: src/gui_gtk.c =================================================================== --- src/gui_gtk.c.orig +++ src/gui_gtk.c @@ -2320,19 +2320,6 @@ gui_mch_dialog(int type, /* type of gtk_widget_destroy(dialog); } - /* Terrible hack: When the text area still has focus when we remove the - * dialog, somehow gvim loses window focus. This is with "point to type" - * in the KDE 3.1 window manager. Warp the mouse pointer to outside the - * window and back to avoid that. */ - if (!gui.in_focus) - { - int x, y; - - gdk_window_get_pointer(gui.drawarea->window, &x, &y, NULL); - gui_mch_setmouse(-100, -100); - gui_mch_setmouse(x, y); - } - return response > 0 ? response : 0; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org