[5148] in Athena Bugs
Re: vax 7.0F: emacs doesn't set input hint
daemon@ATHENA.MIT.EDU (epeisach@ATHENA.MIT.EDU)
Mon Jun 11 11:56:04 1990
From: epeisach@ATHENA.MIT.EDU
Date: Mon, 11 Jun 90 11:55:45 -0400
To: bugs@ATHENA.MIT.EDU
Cc: swick@ATHENA.MIT.EDU
In-Repl-To: [5144]
Proposed fix: - This has not been tried, as I don't have time to compile
a full emacs before leaving, but this should do it. (I'll compile it
when I get back)
Ezra
*** /tmp/,RCSt1005563 Mon Jun 11 11:53:45 1990
--- x11term.c Mon Jun 11 11:27:22 1990
***************
*** 1509,1514 ****
--- 1509,1515 ----
extern int XIgnoreError();
int ix;
int count;
+ XWMHints xwmhint;
SinkPixmap = NULL;
pixelwidth = 0;
***************
*** 1542,1547 ****
--- 1543,1551 ----
/* The following allows keyboard focus to be set to the emacs window */
XtSetKeyboardFocus(XXshellwidget, XXemacswidget);
+ xwmhint.input = TRUE;
+ xwmhint.flags = InputHint;
+ XSetWMHints(XXdisplay,XXwindow, &xwmhint);
XXdisplay = XtDisplay(XXshellwidget);
XXshellwindow = 0;