Patch 8.2.3539
Problem:    GTK3: with 'rightleft' set scrollbar may move unintentionally.
Solution:   Ignore events while moving the scrollbar thumb. (closes #8958)
Files:      src/gui_gtk.c


*** ../vim-8.2.3538/src/gui_gtk.c       2021-06-05 15:06:36.961265823 +0100
--- src/gui_gtk.c       2021-10-19 14:10:02.425210510 +0100
***************
*** 1011,1016 ****
--- 1011,1019 ----
      {
        GtkAdjustment *adjustment;
  
+       // ignore events triggered by moving the thumb (happens in GTK 3)
+       ++hold_gui_events;
+ 
        adjustment = gtk_range_get_adjustment(GTK_RANGE(sb->id));
  
        gtk_adjustment_set_lower(adjustment, 0.0);
***************
*** 1023,1028 ****
--- 1026,1033 ----
  
        g_signal_handler_block(G_OBJECT(adjustment), (gulong)sb->handler_id);
  
+       --hold_gui_events;
+ 
  #if !GTK_CHECK_VERSION(3,18,0)
        gtk_adjustment_changed(adjustment);
  #endif
*** ../vim-8.2.3538/src/version.c       2021-10-19 13:44:48.721313059 +0100
--- src/version.c       2021-10-19 14:21:13.986644033 +0100
***************
*** 759,760 ****
--- 759,762 ----
  {   /* Add new patch number below this line */
+ /**/
+     3539,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
196. Your computer costs more than your car.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211019132234.8D850C80053%40moolenaar.net.

Raspunde prin e-mail lui