… | |
… | |
198 | void rxvt_term::emergency_cleanup () |
198 | void rxvt_term::emergency_cleanup () |
199 | { |
199 | { |
200 | if (cmd_pid) |
200 | if (cmd_pid) |
201 | kill (-cmd_pid, SIGHUP); |
201 | kill (-cmd_pid, SIGHUP); |
202 | |
202 | |
|
|
203 | pty_ev.stop (); |
203 | delete pty; pty = 0; |
204 | delete pty; pty = 0; |
204 | } |
205 | } |
205 | |
206 | |
206 | rxvt_term::~rxvt_term () |
207 | rxvt_term::~rxvt_term () |
207 | { |
208 | { |
… | |
… | |
1621 | || !focus |
1622 | || !focus |
1622 | || !(input_style & (XIMPreeditArea | XIMPreeditPosition)) |
1623 | || !(input_style & (XIMPreeditArea | XIMPreeditPosition)) |
1623 | || !IMisRunning ()) |
1624 | || !IMisRunning ()) |
1624 | return; |
1625 | return; |
1625 | |
1626 | |
1626 | if (input_style & XIMPreeditArea) |
1627 | if (input_style & XIMPreeditPosition) |
1627 | { |
1628 | { |
1628 | im_set_size (preedit_rect); |
1629 | im_set_size (preedit_rect); |
1629 | preedit_attr = XVaCreateNestedList (0, XNArea, &preedit_rect, NULL); |
1630 | preedit_attr = XVaCreateNestedList (0, XNArea, &preedit_rect, NULL); |
1630 | |
1631 | |
1631 | XSetICValues (Input_Context, |
1632 | XSetICValues (Input_Context, |