|
Karsten Hopp |
a16992 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
a16992 |
Subject: Patch 7.2.386
|
|
Karsten Hopp |
a16992 |
Fcc: outbox
|
|
Karsten Hopp |
a16992 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a16992 |
Mime-Version: 1.0
|
|
Karsten Hopp |
a16992 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
a16992 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a16992 |
------------
|
|
Karsten Hopp |
a16992 |
|
|
Karsten Hopp |
a16992 |
Patch 7.2.386
|
|
Karsten Hopp |
a16992 |
Problem: Focus hack for KDE 3.1 causes problems for other window managers.
|
|
Karsten Hopp |
a16992 |
Solution: Remove the hack. (forwarded by Joel Bradshaw)
|
|
Karsten Hopp |
a16992 |
Files: src/gui_gtk.c
|
|
Karsten Hopp |
a16992 |
|
|
Karsten Hopp |
a16992 |
|
|
Karsten Hopp |
a16992 |
*** ../vim-7.2.385/src/gui_gtk.c 2009-05-17 16:23:20.000000000 +0200
|
|
Karsten Hopp |
a16992 |
--- src/gui_gtk.c 2010-03-10 12:07:59.000000000 +0100
|
|
Karsten Hopp |
a16992 |
***************
|
|
Karsten Hopp |
a16992 |
*** 2313,2331 ****
|
|
Karsten Hopp |
a16992 |
gtk_widget_destroy(dialog);
|
|
Karsten Hopp |
a16992 |
}
|
|
Karsten Hopp |
a16992 |
|
|
Karsten Hopp |
a16992 |
- /* Terrible hack: When the text area still has focus when we remove the
|
|
Karsten Hopp |
a16992 |
- * dialog, somehow gvim loses window focus. This is with "point to type"
|
|
Karsten Hopp |
a16992 |
- * in the KDE 3.1 window manager. Warp the mouse pointer to outside the
|
|
Karsten Hopp |
a16992 |
- * window and back to avoid that. */
|
|
Karsten Hopp |
a16992 |
- if (!gui.in_focus)
|
|
Karsten Hopp |
a16992 |
- {
|
|
Karsten Hopp |
a16992 |
- int x, y;
|
|
Karsten Hopp |
a16992 |
-
|
|
Karsten Hopp |
a16992 |
- gdk_window_get_pointer(gui.drawarea->window, &x, &y, NULL);
|
|
Karsten Hopp |
a16992 |
- gui_mch_setmouse(-100, -100);
|
|
Karsten Hopp |
a16992 |
- gui_mch_setmouse(x, y);
|
|
Karsten Hopp |
a16992 |
- }
|
|
Karsten Hopp |
a16992 |
-
|
|
Karsten Hopp |
a16992 |
return response > 0 ? response : 0;
|
|
Karsten Hopp |
a16992 |
}
|
|
Karsten Hopp |
a16992 |
|
|
Karsten Hopp |
a16992 |
--- 2313,2318 ----
|
|
Karsten Hopp |
a16992 |
*** ../vim-7.2.385/src/version.c 2010-03-02 18:15:47.000000000 +0100
|
|
Karsten Hopp |
a16992 |
--- src/version.c 2010-03-10 12:09:00.000000000 +0100
|
|
Karsten Hopp |
a16992 |
***************
|
|
Karsten Hopp |
a16992 |
*** 683,684 ****
|
|
Karsten Hopp |
a16992 |
--- 683,686 ----
|
|
Karsten Hopp |
a16992 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a16992 |
+ /**/
|
|
Karsten Hopp |
a16992 |
+ 386,
|
|
Karsten Hopp |
a16992 |
/**/
|
|
Karsten Hopp |
a16992 |
|
|
Karsten Hopp |
a16992 |
--
|
|
Karsten Hopp |
a16992 |
ARTHUR: Well, I AM king...
|
|
Karsten Hopp |
a16992 |
DENNIS: Oh king, eh, very nice. An' how'd you get that, eh? By exploitin'
|
|
Karsten Hopp |
a16992 |
the workers -- by 'angin' on to outdated imperialist dogma which
|
|
Karsten Hopp |
a16992 |
perpetuates the economic an' social differences in our society! If
|
|
Karsten Hopp |
a16992 |
there's ever going to be any progress--
|
|
Karsten Hopp |
a16992 |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
a16992 |
|
|
Karsten Hopp |
a16992 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a16992 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a16992 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
a16992 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|