Patch 7.4.1899
Problem: GTK 3: cursor blinking doesn't work well.
Solution: Instead of gui_gtk_window_clear() use gui_mch_clear_block().
(Kazunobu Kuriyama)
Files: src/gui_gtk_x11.c
*** ../vim-7.4.1898/src/gui_gtk_x11.c 2016-06-04 16:24:28.910189529 +0200
--- src/gui_gtk_x11.c 2016-06-04 22:16:08.641899285 +0200
***************
*** 657,663 ****
}
static gboolean
! draw_event(GtkWidget *widget,
cairo_t *cr,
gpointer user_data UNUSED)
{
--- 657,663 ----
}
static gboolean
! draw_event(GtkWidget *widget UNUSED,
cairo_t *cr,
gpointer user_data UNUSED)
{
***************
*** 675,682 ****
{
cairo_rectangle_list_t *list = NULL;
- gui_gtk_window_clear(gtk_widget_get_window(widget));
-
list = cairo_copy_clip_rectangle_list(cr);
if (list->status != CAIRO_STATUS_CLIP_NOT_REPRESENTABLE)
{
--- 675,680 ----
***************
*** 684,689 ****
--- 682,691 ----
for (i = 0; i < list->num_rectangles; i++)
{
const cairo_rectangle_t rect = list->rectangles[i];
+
+ gui_mch_clear_block(Y_2_ROW(rect.y), 1,
+ Y_2_ROW(rect.y + rect.height - 1), Columns);
+
if (blink_mode)
gui_gtk3_redraw(rect.x, rect.y, rect.width, rect.height);
else
*** ../vim-7.4.1898/src/version.c 2016-06-04 22:08:38.881905472 +0200
--- src/version.c 2016-06-04 22:17:32.941898125 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 1899,
/**/
--
The real
trick is
this: to
keep the
lines as
short as
possible
and keep
the size
the same
yet free
from the
need for
hyphena-
Dammit!! (Matthew Winn)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.