Commit MetaInfo

Revision2e3fdd2c17d1336456063450baa48298dae28c5b (tree)
Zeit2020-08-28 06:20:45
AutorSHIRAKATA Kentaro <argrath@ub32...>
CommiterSHIRAKATA Kentaro

Log Message

fix #40562

Ändern Zusammenfassung

Diff

--- a/ChangeLog.j
+++ b/ChangeLog.j
@@ -1,3 +1,6 @@
1+ * 次の問題を修正
2+ * X11環境で日本語入力ができない (#40562)
3+
14 Sat Apr 18 2020 Kentaro Shirakata <argrath@ub32.org>
25
36 * NetHack-3.6.6ベース JNetHackテストリリース(3.6.6-0.1)
--- a/win/X11/winX.c
+++ b/win/X11/winX.c
@@ -1985,9 +1985,11 @@ char *input;
19851985 getline_dialog = CreateDialog(getline_popup, nhStr("dialog"),
19861986 done_button, abort_button);
19871987
1988+#if 0 /*JP*//*文字列設定の後ろに回す*/
19881989 XtRealizeWidget(getline_popup);
19891990 XSetWMProtocols(XtDisplay(getline_popup), XtWindow(getline_popup),
19901991 &wm_delete_window, 1);
1992+#endif
19911993 }
19921994 SetDialogPrompt(getline_dialog, (String) question); /* set prompt */
19931995 /* 60: make the answer widget be wide enough to hold 60 characters,
@@ -2001,12 +2003,21 @@ char *input;
20012003 #else
20022004 SetDialogResponse(getline_dialog, nhStr(""), 60); /* set default answer */
20032005 #endif
2006+#if 1 /*JP*//*文字列設定の後ろに回す*/
2007+ XtRealizeWidget(getline_popup);
2008+ XSetWMProtocols(XtDisplay(getline_popup), XtWindow(getline_popup),
2009+ &wm_delete_window, 1);
2010+#endif
20042011 positionpopup(getline_popup, TRUE); /* center,bottom */
20052012
20062013 nh_XtPopup(getline_popup, (int) XtGrabExclusive, getline_dialog);
20072014
20082015 /* The callback will enable the event loop exit. */
20092016 (void) x_event(EXIT_ON_EXIT);
2017+
2018+#if 1 /*JP*//*毎回破棄する*/
2019+ release_getline_widgets();
2020+#endif
20102021 }
20112022
20122023 /* Display file ----------------------------------------------------------- */
Show on old repository browser