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 <dezzadk@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christoffer Aasted
2026-07-28 18:43:56 +00:00
committed by Christian Brabandt
parent 70d55cd516
commit 7bffbb25be
2 changed files with 2 additions and 2 deletions
-2
View 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)
{
+2
View File
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
868,
/**/
867,
/**/