Patch 9.0.1563
Problem:    GTK3: window manager resize hints are incomplete.
Solution:   Use NULL for second argument of gtk_window_set_geometry_hints().
            (Kenny Stauffer closes #11055)
Files:      src/gui_gtk_x11.c


*** ../vim-9.0.1562/src/gui_gtk_x11.c   2023-04-28 16:36:47.408401542 +0100
--- src/gui_gtk_x11.c   2023-05-16 22:15:21.831370523 +0100
***************
*** 3121,3128 ****
                               |GDK_HINT_MIN_SIZE;
        // Using gui.formwin as geometry widget doesn't work as expected
        // with GTK+ 2 -- dunno why.  Presumably all the resizing hacks
!       // in Vim confuse GTK+.
!       gtk_window_set_geometry_hints(GTK_WINDOW(gui.mainwin), gui.mainwin,
                                      &geometry, geometry_mask);
        old_width       = width;
        old_height      = height;
--- 3121,3130 ----
                               |GDK_HINT_MIN_SIZE;
        // Using gui.formwin as geometry widget doesn't work as expected
        // with GTK+ 2 -- dunno why.  Presumably all the resizing hacks
!       // in Vim confuse GTK+.  For GTK 3 the second argument should be NULL
!       // to make the width/height inc works, despite the docs saying
!       // something else.
!       gtk_window_set_geometry_hints(GTK_WINDOW(gui.mainwin), NULL,
                                      &geometry, geometry_mask);
        old_width       = width;
        old_height      = height;
*** ../vim-9.0.1562/src/version.c       2023-05-16 20:10:58.542664693 +0100
--- src/version.c       2023-05-16 22:12:39.867134243 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1563,
  /**/

-- 
Those who live by the sword get shot by those who don't.

 /// 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/20230516211720.50F121C0633%40moolenaar.net.

Raspunde prin e-mail lui