OBS User unknown 2008-05-31 10:14:36 +00:00 committed by Git OBS Bridge
parent 4ee7f5fb3c
commit 22976f7761
3 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,24 @@
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;
}

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
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)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 30 17:34:47 CEST 2008 - mkoenig@suse.de Wed Apr 30 17:34:47 CEST 2008 - mkoenig@suse.de

View File

@ -13,7 +13,7 @@
Name: vim Name: vim
Version: 7.1 Version: 7.1
Release: 115 Release: 125
# #
License: Other uncritical OpenSource License; http://vimdoc.sourceforge.net/htmldoc/uganda.html#license License: Other uncritical OpenSource License; http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
Group: Productivity/Editors/Vi Group: Productivity/Editors/Vi
@ -86,6 +86,7 @@ Patch18: vim-7.1-filetype_spec.patch
Patch19: vim-7.1-diff_check.patch Patch19: vim-7.1-diff_check.patch
Patch20: vim-7.1-netrw_urlencode.patch Patch20: vim-7.1-netrw_urlencode.patch
Patch21: vim-7.1-filetype_changes.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-ga-utf8.diff
# tbd??? %name-6.3-initvals.diff # tbd??? %name-6.3-initvals.diff
# tbd??? vim64-svn-crash.patch # tbd??? vim64-svn-crash.patch
@ -294,6 +295,7 @@ Authors:
%patch19 -p1 %patch19 -p1
%patch20 -p1 %patch20 -p1
%patch21 -p1 %patch21 -p1
%patch22
cp %{S:3} %{S:4} %{S:5} %{S:6} %{S:8} %{S:9} %{S:10} . 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 no nb $RPM_BUILD_DIR/vim*/src/po/no.*
rename menu_no menu_nb $RPM_BUILD_DIR/vim*/runtime/lang/menu_no* rename menu_no menu_nb $RPM_BUILD_DIR/vim*/runtime/lang/menu_no*
@ -656,6 +658,10 @@ fi
%endif %endif
%changelog %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 * Wed Apr 30 2008 mkoenig@suse.de
- use Utility as primary category for the desktop file [bnc#382779] - use Utility as primary category for the desktop file [bnc#382779]
* Wed Mar 12 2008 mkoenig@suse.de * Wed Mar 12 2008 mkoenig@suse.de