Fri Mar 31 15:12:37 PST 2000 Michael Jennings <mej@eterm.org>
Added the escape sequence for the "no input" option. "\e]6;27\a". SVN revision: 2401
This commit is contained in:
parent
94f00a7923
commit
f2badab9b8
|
@ -3404,3 +3404,8 @@ Thu Mar 30 20:34:10 PST 2000 Michael Jennings <mej@eterm.org>
|
|||
toggle this.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Fri Mar 31 15:12:37 PST 2000 Michael Jennings <mej@eterm.org>
|
||||
|
||||
Added the escape sequence for the "no input" option. "\e]6;27\a".
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
|
10
src/term.c
10
src/term.c
|
@ -1667,6 +1667,7 @@ xterm_seq(int op, const char *str)
|
|||
XColor xcol;
|
||||
char *nstr, *tnstr, *orig_tnstr, *valptr;
|
||||
unsigned char eterm_seq_op, which = 0;
|
||||
XWMHints *wm_hints;
|
||||
#ifdef PIXMAP_SUPPORT
|
||||
unsigned char changed = 0, scaled = 0;
|
||||
char *color, *mod;
|
||||
|
@ -2118,6 +2119,15 @@ xterm_seq(int op, const char *str)
|
|||
nstr = (char *) strsep(&tnstr, ";");
|
||||
OPT_SET_OR_TOGGLE(nstr, Options, Opt_report_as_keysyms);
|
||||
break;
|
||||
case 27:
|
||||
nstr = (char *) strsep(&tnstr, ";");
|
||||
OPT_SET_OR_TOGGLE(nstr, Options, Opt_no_input);
|
||||
wm_hints = XGetWMHints(Xdisplay, TermWin.parent);
|
||||
wm_hints->flags |= InputHint;
|
||||
wm_hints->input = ((Options & Opt_no_input) ? False : True);
|
||||
XSetWMHints(Xdisplay, TermWin.parent, wm_hints);
|
||||
XFree(wm_hints);
|
||||
break;
|
||||
case 30:
|
||||
nstr = (char *) strsep(&tnstr, ";");
|
||||
if (nstr) {
|
||||
|
|
Loading…
Reference in New Issue