patch 9.2.0868: GTK: Window Manager hint prevents giving focus to dialog
Commit:
https://github.com/vim/vim/commit/7bffbb25be97e99f8dfaef77703bd93dffdd8b9f
Author: Christoffer Aasted <
dez...@gmail.com>
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 <
dez...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
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,
/**/