Commit: patch 9.2.0868: GTK: Window Manager hint prevents giving focus to dialog

Christian Brabandt <[email protected]> Tue, 28 Jul 2026 21:00:05 +0200
Newsgroups gmane.editors.vim.devel
Message-ID <[email protected]>
patch 9.2.0868: GTK: Window Manager hint prevents giving focus to dialog

Commit: https://github.com/vim/vim/commit/7bffbb25be97e99f8dfaef77703bd93dffdd8b9f
Author: Christoffer Aasted <[email protected]>
Date:   Tue Jul 28 18:43:56 2026 +0000

    patch 9.2.0868: GTK: Window Manager hint prevents giving focus to dialog
    
    Problem:  GTK: Window Manager hint prevents giving focus to dialog
              (Allen Wild, after v9.1.0881)
    Solution: Remove Window Manager hint again (Christoffer Aasted)
    
    related: #16100
    fixes:   #17760
    closes:  #20727
    
    Signed-off-by: Christoffer Aasted <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index 620480289..eef771e84 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -1716,8 +1716,6 @@ gui_mch_dialog(int	type,	    // type of dialog
     dialog = create_message_dialog(type, title, message);
     dialoginfo.dialog = GTK_DIALOG(dialog);
     dialog_add_buttons(GTK_DIALOG(dialog), buttons);
-    gtk_window_set_type_hint(GTK_WINDOW(dialog),
-			     GDK_WINDOW_TYPE_HINT_POPUP_MENU);
 
     if (textfield != NULL)
     {
diff --git a/src/version.c b/src/version.c
index af42c7cbd..1c6be6d11 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    868,
 /**/
     867,
 /**/

-- 
-- 
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 visit https://groups.google.com/d/msgid/vim_dev/E1won25-001CQa-3S%40256bit.org.