]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0868: GTK: Window Manager hint prevents giving focus to dialog v9.2.0868
authorChristoffer Aasted <dezzadk@gmail.com>
Tue, 28 Jul 2026 18:43:56 +0000 (18:43 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 28 Jul 2026 18:43:56 +0000 (18:43 +0000)
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 <dezzadk@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/gui_gtk.c
src/version.c

index 620480289b98e649e5c6af06d100b3cf84ce0c82..eef771e84011e44e486321a4f6f274de80382ce1 100644 (file)
@@ -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)
     {
index af42c7cbd10ec6e6a3623c90a8c16c02590e4df9..1c6be6d116a4bdb6892975056aa9c4f5967b6328 100644 (file)
@@ -758,6 +758,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    868,
 /**/
     867,
 /**/