Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bluestreaktech
vim
vim-7.1-remove-terrible-hack.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vim-7.1-remove-terrible-hack.patch of Package vim
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; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor